From e453aef8c57b6948146b91ff3272a1de855d4f1a Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 11 Oct 2023 17:28:25 -0400 Subject: [PATCH] python-Twisted: remove python 2 --- srcpkgs/python-Twisted/INSTALL | 5 ----- srcpkgs/python-Twisted/REMOVE | 5 ----- srcpkgs/python-Twisted/template | 37 --------------------------------- srcpkgs/python-Twisted/update | 1 - 4 files changed, 48 deletions(-) delete mode 100644 srcpkgs/python-Twisted/INSTALL delete mode 100644 srcpkgs/python-Twisted/REMOVE delete mode 100644 srcpkgs/python-Twisted/template delete mode 100644 srcpkgs/python-Twisted/update diff --git a/srcpkgs/python-Twisted/INSTALL b/srcpkgs/python-Twisted/INSTALL deleted file mode 100644 index 2752e04bc99..00000000000 --- a/srcpkgs/python-Twisted/INSTALL +++ /dev/null @@ -1,5 +0,0 @@ -case ${ACTION} in -post) - python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 - ;; -esac diff --git a/srcpkgs/python-Twisted/REMOVE b/srcpkgs/python-Twisted/REMOVE deleted file mode 100644 index 0ffe8186a94..00000000000 --- a/srcpkgs/python-Twisted/REMOVE +++ /dev/null @@ -1,5 +0,0 @@ -case ${ACTION} in -purge) - find usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f - ;; -esac diff --git a/srcpkgs/python-Twisted/template b/srcpkgs/python-Twisted/template deleted file mode 100644 index 3ed1355228d..00000000000 --- a/srcpkgs/python-Twisted/template +++ /dev/null @@ -1,37 +0,0 @@ -# Template file for 'python-Twisted' -pkgname=python-Twisted -version=20.3.0 -revision=4 -build_style=python2-module -hostmakedepends="python-setuptools python-incremental" -makedepends="python-devel" -depends="python-setuptools python-zope.interface python-openssl - python-service_identity python-constantly python-incremental python-automat - python-hyperlink python-PyHamcrest" -short_desc="Asynchronous networking framework written in Python (Python2)" -maintainer="Orphaned " -license="MIT" -homepage="https://twistedmatrix.com/" -changelog="https://raw.githubusercontent.com/twisted/twisted/trunk/NEWS.rst" -distfiles="${PYPI_SITE}/T/Twisted/Twisted-${version}.tar.bz2" -checksum=d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10 - -alternatives=" - twisted:cftp:/usr/bin/cftp2 - twisted:ckeygen:/usr/bin/ckeygen2 - twisted:conch:/usr/bin/conch2 - twisted:mailmail:/usr/bin/mailmail2 - twisted:pyhtmlizer:/usr/bin/pyhtmlizer2 - twisted:tkconch:/usr/bin/tkconch2 - twisted:trial:/usr/bin/trial2 - twisted:twist:/usr/bin/twist2 - twisted:twistd:/usr/bin/twistd2" - -post_install() { - # don't conflict with python3-Twisted - for f in "${DESTDIR}"/usr/bin/*; do - mv "${f}"{,2} - done - - vlicense LICENSE -} diff --git a/srcpkgs/python-Twisted/update b/srcpkgs/python-Twisted/update deleted file mode 100644 index e299d00ea67..00000000000 --- a/srcpkgs/python-Twisted/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*rc*"