From e851d371a7e2030c66849add9a3e1a45c5fdd569 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 11 Sep 2022 16:45:31 +0000 Subject: py-txgithub: remove archived upstream, no users in pkgsrc, last release from 2015. --- devel/Makefile | 3 +-- devel/py-txgithub/ALTERNATIVES | 2 -- devel/py-txgithub/DESCR | 2 -- devel/py-txgithub/Makefile | 27 ------------------- devel/py-txgithub/PLIST | 30 ---------------------- devel/py-txgithub/distinfo | 7 ----- .../patch-txgithub_scripts_create__token.py | 16 ------------ .../patches/patch-txgithub_scripts_gist.py | 28 -------------------- doc/CHANGES-2022 | 3 ++- doc/TODO | 3 ++- 10 files changed, 5 insertions(+), 116 deletions(-) delete mode 100644 devel/py-txgithub/ALTERNATIVES delete mode 100644 devel/py-txgithub/DESCR delete mode 100644 devel/py-txgithub/Makefile delete mode 100644 devel/py-txgithub/PLIST delete mode 100644 devel/py-txgithub/distinfo delete mode 100644 devel/py-txgithub/patches/patch-txgithub_scripts_create__token.py delete mode 100644 devel/py-txgithub/patches/patch-txgithub_scripts_gist.py diff --git a/devel/Makefile b/devel/Makefile index e407ef3d64d..bdfa840b38d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3794 2022/09/11 05:32:27 taca Exp $ +# $NetBSD: Makefile,v 1.3795 2022/09/11 16:45:31 wiz Exp $ # COMMENT= Development utilities @@ -2875,7 +2875,6 @@ SUBDIR+= py-tryton SUBDIR+= py-trytond SUBDIR+= py-tubes SUBDIR+= py-txaio -SUBDIR+= py-txgithub SUBDIR+= py-txrequests SUBDIR+= py-typed-ast SUBDIR+= py-typeguard diff --git a/devel/py-txgithub/ALTERNATIVES b/devel/py-txgithub/ALTERNATIVES deleted file mode 100644 index 28afcdd3654..00000000000 --- a/devel/py-txgithub/ALTERNATIVES +++ /dev/null @@ -1,2 +0,0 @@ -bin/get-github-token @PREFIX@/bin/get-github-token-@PYVERSSUFFIX@ -bin/gist @PREFIX@/bin/gist-@PYVERSSUFFIX@ diff --git a/devel/py-txgithub/DESCR b/devel/py-txgithub/DESCR deleted file mode 100644 index d27ab8d620d..00000000000 --- a/devel/py-txgithub/DESCR +++ /dev/null @@ -1,2 +0,0 @@ -txgithub is a library based on Twisted for accessing GitHub's API -version 3. diff --git a/devel/py-txgithub/Makefile b/devel/py-txgithub/Makefile deleted file mode 100644 index a91489d9a79..00000000000 --- a/devel/py-txgithub/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $NetBSD: Makefile,v 1.4 2022/02/13 08:53:43 wiz Exp $ - -DISTNAME= txgithub-15.0.0 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 -CATEGORIES= devel net python -MASTER_SITES= ${MASTER_SITE_PYPI:=t/txgithub/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://github.com/tomprince/txgithub -COMMENT= GitHub API client using Twisted -LICENSE= mit - -DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL - -PYTHON_VERSIONED_DEPENDENCIES+= twisted - -USE_LANGUAGES= # none - -post-install: - cd ${DESTDIR}${PREFIX}/bin && \ - ${MV} get-github-token get-github-token-${PYVERSSUFFIX} && \ - ${MV} gist gist-${PYVERSSUFFIX} || ${TRUE} - -.include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-txgithub/PLIST b/devel/py-txgithub/PLIST deleted file mode 100644 index efb42d98603..00000000000 --- a/devel/py-txgithub/PLIST +++ /dev/null @@ -1,30 +0,0 @@ -@comment $NetBSD: PLIST,v 1.4 2018/04/03 20:27:21 adam Exp $ -bin/get-github-token-${PYVERSSUFFIX} -bin/gist-${PYVERSSUFFIX} -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/not-zip-safe -${PYSITELIB}/${EGG_INFODIR}/requires.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/txgithub/__init__.py -${PYSITELIB}/txgithub/__init__.pyc -${PYSITELIB}/txgithub/__init__.pyo -${PYSITELIB}/txgithub/api.py -${PYSITELIB}/txgithub/api.pyc -${PYSITELIB}/txgithub/api.pyo -${PYSITELIB}/txgithub/constants.py -${PYSITELIB}/txgithub/constants.pyc -${PYSITELIB}/txgithub/constants.pyo -${PYSITELIB}/txgithub/scripts/__init__.py -${PYSITELIB}/txgithub/scripts/__init__.pyc -${PYSITELIB}/txgithub/scripts/__init__.pyo -${PYSITELIB}/txgithub/scripts/create_token.py -${PYSITELIB}/txgithub/scripts/create_token.pyc -${PYSITELIB}/txgithub/scripts/create_token.pyo -${PYSITELIB}/txgithub/scripts/gist.py -${PYSITELIB}/txgithub/scripts/gist.pyc -${PYSITELIB}/txgithub/scripts/gist.pyo -${PYSITELIB}/txgithub/token.py -${PYSITELIB}/txgithub/token.pyc -${PYSITELIB}/txgithub/token.pyo diff --git a/devel/py-txgithub/distinfo b/devel/py-txgithub/distinfo deleted file mode 100644 index 5f6b2f1a7da..00000000000 --- a/devel/py-txgithub/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.5 2021/10/26 10:19:12 nia Exp $ - -BLAKE2s (txgithub-15.0.0.tar.gz) = a7bc7e0cfabc7c862411d80a507b4200864c3f29076ae4649723824cff553330 -SHA512 (txgithub-15.0.0.tar.gz) = 1935ad2466655174d92704233eb255993c4244142efb7899f5da0dda35ca58213a0d77f03fd2e34bcfa2cb601afe3d9bf02b22f0bef906ad54c7fc8ada9d46b6 -Size (txgithub-15.0.0.tar.gz) = 5534 bytes -SHA1 (patch-txgithub_scripts_create__token.py) = 01fd1d45cbdf432b2b156a91838c21777b68b5f6 -SHA1 (patch-txgithub_scripts_gist.py) = 13a38c7a178f15cc728a0edcd63c0f3795e04bdf diff --git a/devel/py-txgithub/patches/patch-txgithub_scripts_create__token.py b/devel/py-txgithub/patches/patch-txgithub_scripts_create__token.py deleted file mode 100644 index 47d78c2e289..00000000000 --- a/devel/py-txgithub/patches/patch-txgithub_scripts_create__token.py +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-txgithub_scripts_create__token.py,v 1.2 2017/10/01 09:52:19 wiz Exp $ - -Fix for python-3.x. -https://github.com/tomprince/txgithub/issues/13 - ---- txgithub/scripts/create_token.py.orig 2017-09-30 20:46:53.750550950 +0000 -+++ txgithub/scripts/create_token.py -@@ -34,7 +34,7 @@ def run(reactor, *argv): - config = Options() - try: - config.parseOptions(argv[1:]) # When given no argument, parses sys.argv[1:] -- except usage.UsageError, errortext: -+ except usage.UsageError as errortext: - print('%s: %s' % (argv[0], errortext)) - print('%s: Try --help for usage details.' % (argv[0])) - sys.exit(1) diff --git a/devel/py-txgithub/patches/patch-txgithub_scripts_gist.py b/devel/py-txgithub/patches/patch-txgithub_scripts_gist.py deleted file mode 100644 index 1e812ad4c4d..00000000000 --- a/devel/py-txgithub/patches/patch-txgithub_scripts_gist.py +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-txgithub_scripts_gist.py,v 1.2 2017/10/01 09:52:19 wiz Exp $ - -Fix for python-3.x. -https://github.com/tomprince/txgithub/issues/13 - ---- txgithub/scripts/gist.py.orig 2017-09-30 20:47:17.806190554 +0000 -+++ txgithub/scripts/gist.py -@@ -30,16 +30,16 @@ def postGist(reactor, token, files): - gistFiles['gistfile1'] = {"content": sys.stdin.read()} - - response = yield api.gists.create(files=gistFiles) -- print response['html_url'] -+ print(response['html_url']) - - - def run(reactor, *argv): - config = Options() - try: - config.parseOptions(argv[1:]) # When given no argument, parses sys.argv[1:] -- except usage.UsageError, errortext: -- print '%s: %s' % (argv[0], errortext) -- print '%s: Try --help for usage details.' % (argv[0]) -+ except usage.UsageError as errortext: -+ print('%s: %s' % (argv[0], errortext)) -+ print('%s: Try --help for usage details.' % (argv[0])) - sys.exit(1) - - return postGist(reactor, **config) diff --git a/doc/CHANGES-2022 b/doc/CHANGES-2022 index e0751bd1607..54c6b203dc8 100644 --- a/doc/CHANGES-2022 +++ b/doc/CHANGES-2022 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2022,v 1.4481 2022/09/11 16:45:04 gdt Exp $ +$NetBSD: CHANGES-2022,v 1.4482 2022/09/11 16:45:31 wiz Exp $ Changes to the packages collection and infrastructure in 2022: @@ -6628,3 +6628,4 @@ Changes to the packages collection and infrastructure in 2022: Updated net/py-twine to 4.0.1nb1 [wiz 2022-09-11] Removed audio/py-musique [wiz 2022-09-11] Updated security/pcsc-lite to 1.9.9 [gdt 2022-09-11] + Removed devel/py-txgithub [wiz 2022-09-11] diff --git a/doc/TODO b/doc/TODO index f82b8934eff..e36a4a76c5b 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,4 +1,4 @@ -$NetBSD: TODO,v 1.22194 2022/09/11 14:12:12 wiz Exp $ +$NetBSD: TODO,v 1.22195 2022/09/11 16:45:31 wiz Exp $ Suggested new packages ====================== @@ -1293,6 +1293,7 @@ For possible Perl packages updates, see http://www.NetBSD.org/~wiz/perl.html o py-HappyDoc-3.0 o py-MyHDL-0.11 o py-OTXv2-1.5.2 + o py-OpenSSL-22.0.0 [python 3.x only] o py-Routes-2.5.1 o py-cassa-1.11.0 o py-configparser-5.0.0 [drops python-2.x support; pkgsrc only needs this package for python 2.x] -- cgit v1.2.3