git: b665e0d5c1ef - main - devel/osc: update 0.182.0 → 1.0.1

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 23 Mar 2023 13:23:09 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b665e0d5c1efb1b14fc871ca3c3b06a95aacb747

commit b665e0d5c1efb1b14fc871ca3c3b06a95aacb747
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-03-22 21:27:25 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-03-23 13:22:54 +0000

    devel/osc: update 0.182.0 → 1.0.1
---
 devel/osc/Makefile | 31 +++++++------------------------
 devel/osc/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/devel/osc/Makefile b/devel/osc/Makefile
index 57430c02a6c6..8e39b9ab5c12 100644
--- a/devel/osc/Makefile
+++ b/devel/osc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	osc
-PORTVERSION=	0.182.0
+PORTVERSION=	1.0.1
 CATEGORIES=	devel
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -10,42 +10,25 @@ WWW=		https://en.opensuse.org/openSUSE:OSC \
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}m2crypto>=0:security/py-m2crypto@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
 
+USES=		cpe python
 USE_GITHUB=	yes
 GH_ACCOUNT=	openSUSE
-
-USES=		cpe python
 USE_PYTHON=	autoplist distutils noflavors pytest
-PLIST_FILES=	bin/osc
 NO_ARCH=	yes
-PYTEST_BROKEN_TESTS=	testPrdiffDiffstat
-
 CPE_VENDOR=	suse
 CPE_PRODUCT=	opensuse_osc
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	CA_BUNDLE DOCS
-OPTIONS_DEFAULT=CA_BUNDLE
-CA_BUNDLE_DESC=	Install CA Certificates
-
-CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-CA_BUNDLE_VARS=		CA_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt
-CA_BUNDLE_VARS_OFF=	CA_PATH=/etc/ssl
-
-post-patch:
-	@${REINPLACE_CMD} -e "s|'share', 'man'|'man'|" ${WRKSRC}/setup.py
-	@${REINPLACE_CMD} -e "/cert.pem/ s|\[.*\]|['${CA_PATH}']|" \
-		${WRKSRC}/osc/conf.py
+PYTEST_BROKEN_TESTS=	testPrdiffDiffstat
 
-post-install:
-	${LN} -s osc-wrapper.py ${STAGEDIR}${PREFIX}/bin/osc
+OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS TODO \
-		${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/devel/osc/distinfo b/devel/osc/distinfo
index 92da4ab64c2d..d83d8c1d1b16 100644
--- a/devel/osc/distinfo
+++ b/devel/osc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662663769
-SHA256 (openSUSE-osc-0.182.0_GH0.tar.gz) = aafbc66f114ffcabd1c25c7f3754895a5c26608c4d8193de02382221e68403c7
-SIZE (openSUSE-osc-0.182.0_GH0.tar.gz) = 371721
+TIMESTAMP = 1679519142
+SHA256 (openSUSE-osc-1.0.1_GH0.tar.gz) = c8bba251b1f546fef9a9b0739c6b74df9ecca4ffd832eb9351b651c6c0033755
+SIZE (openSUSE-osc-1.0.1_GH0.tar.gz) = 321155