parent
1a25cb8926
commit
e453aef8c5
|
@ -1,5 +0,0 @@
|
|||
case ${ACTION} in
|
||||
post)
|
||||
python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1
|
||||
;;
|
||||
esac
|
|
@ -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
|
|
@ -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 <orphan@voidlinux.org>"
|
||||
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
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ignore="*rc*"
|
Loading…
Reference in New Issue