[arch-commits] Commit in twisted/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, November 11, 2020 @ 07:07:37 Author: foutrelis Revision: 400272 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/PKGBUILD (from rev 400271, twisted/trunk/PKGBUILD) Deleted: twisted/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 192 ++--- 1 file changed, 96 insertions(+), 96 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-11-11 07:07:34 UTC (rev 400271) +++ PKGBUILD2020-11-11 07:07:37 UTC (rev 400272) @@ -1,96 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Ionut Biru -# Contributor: Juergen Hoetzel -# Contributor: Douglas Soares de Andrade - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=20.3.0 -pkgrel=2 -pkgdesc="Asynchronous networking framework written in Python" -arch=('x86_64') -url="https://twistedmatrix.com/; -license=('MIT') -makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' - 'python2-setuptools' 'python-service-identity' 'python2-service-identity' - 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' - 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' - 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') -checkdepends=('subversion' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' 'python-gobject' - 'python-subunit' 'python-h2' 'python-priority' 'python-cryptography' 'python-idna' - 'python-pyasn1' 'python-pyserial' 'python-bcrypt') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) -sha512sums=('72307a0b9165d5f6b31f5563f4f76f9c759349d55f6dcaf43358eab3e8f1b2065e0b12c8ac43f14061ee17cb2d9b27f463bcb9e642750fb8e6e510e403bd2b06') - -prepare() { - cp -a twisted-twisted-$pkgver{,-py2} - - sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ -twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ -twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py -} - -build() { - cd "$srcdir"/twisted-twisted-$pkgver - python setup.py build - - cd "$srcdir"/twisted-twisted-$pkgver-py2 - python2 setup.py build -} - -check() { - export LC_CTYPE=en_US.UTF-8 - - # do glob expansion in variable assignment - pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3*) - - # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points - PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' - 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') - optdepends=('python-pyopenssl: for TLS client hostname verification' - 'python-service-identity: for TLS client hostname verification' - 'python-idna: for TLS client hostname verification' - 'python-cryptography: for using conch' - 'python-pyasn1: for using conch' - 'python-appdirs: for using conch' - 'python-bcrypt: for using conch' - 'python-h2: for http2 support' - 'python-priority: for http2 support' - 'python-pyserial: for serial support' - 'tk: for using tkconch') - - cd twisted-twisted-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - - # twisted in python 3 supports only few command line tools for now. - # Let's rename the tools the other way round after the python 3 version supports all. - for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do -mv "$pkgdir"/usr/bin/${name}{,3} - done - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-twisted() { - depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' - 'python2-hyperlink' 'python2-attrs' 'python2-pyhamcrest') - optdepends=('python2-pyopenssl: for TLS client hostname verification' - 'python2-service-identity: for TLS client hostname verification' - 'python2-idna: for TLS client hostname verification' - 'python2-cryptography: for using conch' - 'python2-pyasn1: for using conch' - 'python2-appdirs: for using conch' - 'python2-bcrypt: for using conch' - 'python2-priority: for http2 support' - 'python2-pyserial: for serial support' - 'python2-soappy: for twisted.web.soap' - 'tk: for using tkconch') - - cd twisted-twisted-$pkgver-py2 - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -D -m644
[arch-commits] Commit in twisted/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Monday, November 9, 2020 @ 12:42:15 Author: felixonmars Revision: 399710 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/ twisted/repos/staging-x86_64/PKGBUILD (from rev 399709, twisted/trunk/PKGBUILD) --+ PKGBUILD | 96 + 1 file changed, 96 insertions(+) Copied: twisted/repos/staging-x86_64/PKGBUILD (from rev 399709, twisted/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-11-09 12:42:15 UTC (rev 399710) @@ -0,0 +1,96 @@ +# Maintainer: Felix Yan +# Contributor: Ionut Biru +# Contributor: Juergen Hoetzel +# Contributor: Douglas Soares de Andrade + +pkgbase=twisted +pkgname=(python-twisted python2-twisted) +pkgver=20.3.0 +pkgrel=2 +pkgdesc="Asynchronous networking framework written in Python" +arch=('x86_64') +url="https://twistedmatrix.com/; +license=('MIT') +makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' + 'python2-setuptools' 'python-service-identity' 'python2-service-identity' + 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' + 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' + 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') +checkdepends=('subversion' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' 'python-gobject' + 'python-subunit' 'python-h2' 'python-priority' 'python-cryptography' 'python-idna' + 'python-pyasn1' 'python-pyserial' 'python-bcrypt') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) +sha512sums=('72307a0b9165d5f6b31f5563f4f76f9c759349d55f6dcaf43358eab3e8f1b2065e0b12c8ac43f14061ee17cb2d9b27f463bcb9e642750fb8e6e510e403bd2b06') + +prepare() { + cp -a twisted-twisted-$pkgver{,-py2} + + sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ +twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ +twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py +} + +build() { + cd "$srcdir"/twisted-twisted-$pkgver + python setup.py build + + cd "$srcdir"/twisted-twisted-$pkgver-py2 + python2 setup.py build +} + +check() { + export LC_CTYPE=en_US.UTF-8 + + # do glob expansion in variable assignment + pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3*) + + # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points + PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" +} + +package_python-twisted() { + depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' + 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') + optdepends=('python-pyopenssl: for TLS client hostname verification' + 'python-service-identity: for TLS client hostname verification' + 'python-idna: for TLS client hostname verification' + 'python-cryptography: for using conch' + 'python-pyasn1: for using conch' + 'python-appdirs: for using conch' + 'python-bcrypt: for using conch' + 'python-h2: for http2 support' + 'python-priority: for http2 support' + 'python-pyserial: for serial support' + 'tk: for using tkconch') + + cd twisted-twisted-$pkgver + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + + # twisted in python 3 supports only few command line tools for now. + # Let's rename the tools the other way round after the python 3 version supports all. + for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do +mv "$pkgdir"/usr/bin/${name}{,3} + done + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-twisted() { + depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' + 'python2-hyperlink' 'python2-attrs' 'python2-pyhamcrest') + optdepends=('python2-pyopenssl: for TLS client hostname verification' + 'python2-service-identity: for TLS client hostname verification' + 'python2-idna: for TLS client hostname verification' + 'python2-cryptography: for using conch' + 'python2-pyasn1: for using conch' + 'python2-appdirs: for using conch' + 'python2-bcrypt: for using conch' + 'python2-priority: for http2 support' + 'python2-pyserial: for serial support' + 'python2-soappy: for twisted.web.soap' + 'tk: for using tkconch') + + cd twisted-twisted-$pkgver-py2 + python2 setup.py install
[arch-commits] Commit in twisted/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, October 27, 2019 @ 07:16:33 Author: felixonmars Revision: 365929 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/PKGBUILD (from rev 365928, twisted/trunk/PKGBUILD) Deleted: twisted/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 206 ++--- 1 file changed, 103 insertions(+), 103 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-27 07:16:17 UTC (rev 365928) +++ PKGBUILD2019-10-27 07:16:33 UTC (rev 365929) @@ -1,103 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Ionut Biru -# Contributor: Juergen Hoetzel -# Contributor: Douglas Soares de Andrade - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=19.7.0 -pkgrel=3 -pkgdesc="Asynchronous networking framework written in Python" -arch=('x86_64') -url="https://twistedmatrix.com/; -license=('MIT') -makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' - 'python2-setuptools' 'python-service-identity' 'python2-service-identity' - 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' - 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' - 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') -checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' - 'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2' - 'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2' - 'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography' - 'python-idna' 'python2-idna' 'python-pyasn1' 'python2-pyasn1' 'python-pyserial' - 'python2-pyserial' 'python-bcrypt' 'python2-bcrypt') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) -sha512sums=('1293f1299ef497f3bff274c6720a0f56bce23de938815ab8873d9c409604e2d941e6ebb17fd994bcc9558959997c1d08adb80802dcc9241d6db91b8b02eb5d4a') - -prepare() { - cp -a twisted-twisted-$pkgver{,-py2} - - sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ -twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ -twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py -} - -build() { - cd "$srcdir"/twisted-twisted-$pkgver - python setup.py build - - cd "$srcdir"/twisted-twisted-$pkgver-py2 - python2 setup.py build -} - -check() { - export LC_CTYPE=en_US.UTF-8 - - # do glob expansion in variable assignment - pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3* - "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*) - - # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points - PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" - PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' - 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') - optdepends=('python-pyopenssl: for TLS client hostname verification' - 'python-service-identity: for TLS client hostname verification' - 'python-idna: for TLS client hostname verification' - 'python-cryptography: for using conch' - 'python-pyasn1: for using conch' - 'python-appdirs: for using conch' - 'python-bcrypt: for using conch' - 'python-h2: for http2 support' - 'python-priority: for http2 support' - 'python-pyserial: for serial support' - 'tk: for using tkconch') - - cd twisted-twisted-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - - # twisted in python 3 supports only few command line tools for now. - # Let's rename the tools the other way round after the python 3 version supports all. - for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do -mv "$pkgdir"/usr/bin/${name}{,3} - done - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-twisted() { - depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' - 'python2-hyperlink' 'python2-attrs' 'python2-pyhamcrest') - optdepends=('python2-pyopenssl: for TLS client hostname verification' - 'python2-service-identity: for TLS client hostname verification' - 'python2-idna: for TLS client hostname verification' -
[arch-commits] Commit in twisted/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, October 25, 2019 @ 14:58:50 Author: felixonmars Revision: 365579 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/PKGBUILD (from rev 365577, twisted/trunk/PKGBUILD) Deleted: twisted/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 206 ++--- 1 file changed, 103 insertions(+), 103 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-25 14:58:47 UTC (rev 365578) +++ PKGBUILD2019-10-25 14:58:50 UTC (rev 365579) @@ -1,103 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Ionut Biru -# Contributor: Juergen Hoetzel -# Contributor: Douglas Soares de Andrade - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=19.7.0 -pkgrel=2 -pkgdesc="Asynchronous networking framework written in Python" -arch=('x86_64') -url="https://twistedmatrix.com/; -license=('MIT') -makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' - 'python2-setuptools' 'python-service-identity' 'python2-service-identity' - 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' - 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' - 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') -checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' - 'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2' - 'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2' - 'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography' - 'python-idna' 'python2-idna' 'python-pyasn1' 'python2-pyasn1' 'python-pyserial' - 'python2-pyserial' 'python-bcrypt' 'python2-bcrypt') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) -sha512sums=('1293f1299ef497f3bff274c6720a0f56bce23de938815ab8873d9c409604e2d941e6ebb17fd994bcc9558959997c1d08adb80802dcc9241d6db91b8b02eb5d4a') - -prepare() { - cp -a twisted-twisted-$pkgver{,-py2} - - sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ -twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ -twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py -} - -build() { - cd "$srcdir"/twisted-twisted-$pkgver - python setup.py build - - cd "$srcdir"/twisted-twisted-$pkgver-py2 - python2 setup.py build -} - -check() { - export LC_CTYPE=en_US.UTF-8 - - # do glob expansion in variable assignment - pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3* - "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*) - - # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points - PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" - PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' - 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') - optdepends=('python-pyopenssl: for TLS client hostname verification' - 'python-service-identity: for TLS client hostname verification' - 'python-idna: for TLS client hostname verification' - 'python-cryptography: for using conch' - 'python-pyasn1: for using conch' - 'python-appdirs: for using conch' - 'python-bcrypt: for using conch' - 'python-h2: for http2 support' - 'python-priority: for http2 support' - 'python-pyserial: for serial support' - 'tk: for using tkconch') - - cd twisted-twisted-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - - # twisted in python 3 supports only few command line tools for now. - # Let's rename the tools the other way round after the python 3 version supports all. - for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do -mv "$pkgdir"/usr/bin/${name}{,3} - done - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-twisted() { - depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' - 'python2-hyperlink' 'python2-attrs' 'python2-pyhamcrest') - optdepends=('python2-pyopenssl: for TLS client hostname verification' - 'python2-service-identity: for TLS client hostname verification' - 'python2-idna: for TLS client hostname verification' -
[arch-commits] Commit in twisted/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Friday, October 25, 2019 @ 14:21:31 Author: foutrelis Revision: 365568 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/ twisted/repos/staging-x86_64/PKGBUILD (from rev 365567, twisted/trunk/PKGBUILD) --+ PKGBUILD | 103 + 1 file changed, 103 insertions(+) Copied: twisted/repos/staging-x86_64/PKGBUILD (from rev 365567, twisted/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-10-25 14:21:31 UTC (rev 365568) @@ -0,0 +1,103 @@ +# Maintainer: Felix Yan +# Contributor: Ionut Biru +# Contributor: Juergen Hoetzel +# Contributor: Douglas Soares de Andrade + +pkgbase=twisted +pkgname=(python-twisted python2-twisted) +pkgver=19.7.0 +pkgrel=2 +pkgdesc="Asynchronous networking framework written in Python" +arch=('x86_64') +url="https://twistedmatrix.com/; +license=('MIT') +makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' + 'python2-setuptools' 'python-service-identity' 'python2-service-identity' + 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' + 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' + 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') +checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' + 'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2' + 'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2' + 'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography' + 'python-idna' 'python2-idna' 'python-pyasn1' 'python2-pyasn1' 'python-pyserial' + 'python2-pyserial' 'python-bcrypt' 'python2-bcrypt') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) +sha512sums=('1293f1299ef497f3bff274c6720a0f56bce23de938815ab8873d9c409604e2d941e6ebb17fd994bcc9558959997c1d08adb80802dcc9241d6db91b8b02eb5d4a') + +prepare() { + cp -a twisted-twisted-$pkgver{,-py2} + + sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ +twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ +twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py +} + +build() { + cd "$srcdir"/twisted-twisted-$pkgver + python setup.py build + + cd "$srcdir"/twisted-twisted-$pkgver-py2 + python2 setup.py build +} + +check() { + export LC_CTYPE=en_US.UTF-8 + + # do glob expansion in variable assignment + pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3* + "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*) + + # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points + PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" + PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" +} + +package_python-twisted() { + depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' + 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') + optdepends=('python-pyopenssl: for TLS client hostname verification' + 'python-service-identity: for TLS client hostname verification' + 'python-idna: for TLS client hostname verification' + 'python-cryptography: for using conch' + 'python-pyasn1: for using conch' + 'python-appdirs: for using conch' + 'python-bcrypt: for using conch' + 'python-h2: for http2 support' + 'python-priority: for http2 support' + 'python-pyserial: for serial support' + 'tk: for using tkconch') + + cd twisted-twisted-$pkgver + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + + # twisted in python 3 supports only few command line tools for now. + # Let's rename the tools the other way round after the python 3 version supports all. + for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do +mv "$pkgdir"/usr/bin/${name}{,3} + done + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-twisted() { + depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' + 'python2-hyperlink' 'python2-attrs' 'python2-pyhamcrest') + optdepends=('python2-pyopenssl: for TLS client hostname verification' + 'python2-service-identity: for TLS client hostname verification' + 'python2-idna: for TLS
[arch-commits] Commit in twisted/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, July 26, 2018 @ 14:11:16 Author: foutrelis Revision: 329567 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/PKGBUILD (from rev 329566, twisted/trunk/PKGBUILD) Deleted: twisted/repos/staging-x86_64/PKGBUILD --+ PKGBUILD | 210 ++--- 1 file changed, 105 insertions(+), 105 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-26 14:11:08 UTC (rev 329566) +++ PKGBUILD2018-07-26 14:11:16 UTC (rev 329567) @@ -1,105 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Ionut Biru -# Contributor: Juergen Hoetzel -# Contributor: Douglas Soares de Andrade - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=18.7.0 -_commit=ee535041258e7ef0b3223d2e12cd9aaa0bc2289f -pkgrel=1 -pkgdesc="Asynchronous networking framework written in Python" -arch=('x86_64') -url="https://twistedmatrix.com/; -license=('MIT') -makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' - 'python2-setuptools' 'python-service-identity' 'python2-service-identity' - 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' - 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' - 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') -checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' - 'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2' - 'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2' - 'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography' - 'python-idna' 'python2-idna' 'python-pyserial' 'python2-pyserial') -#source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) -makedepends+=('git') -source=(git+https://github.com/twisted/twisted#commit=$_commit) -sha512sums=('SKIP') - -prepare() { - mv twisted twisted-twisted-$pkgver - cp -a twisted-twisted-$pkgver{,-py2} - - sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ -twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ -twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py -} - -build() { - cd "$srcdir"/twisted-twisted-$pkgver - python setup.py build - - cd "$srcdir"/twisted-twisted-$pkgver-py2 - python2 setup.py build -} - -check() { - export LC_CTYPE=en_US.UTF-8 - - # do glob expansion in variable assignment - pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3* - "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*) - - # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points - PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" - PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' - 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') - optdepends=('python-pyopenssl: for TLS client hostname verification' - 'python-service-identity: for TLS client hostname verification' - 'python-idna: for TLS client hostname verification' - 'python-cryptography: for using conch' - 'python-pyasn1: for using conch' - 'python-appdirs: for using conch' - 'python-h2: for http2 support' - 'python-priority: for http2 support' - 'python-pyserial: for serial support' - 'tk: for using tkconch') - - cd twisted-twisted-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - - # twisted in python 3 supports only few command line tools for now. - # Let's rename the tools the other way round after the python 3 version supports all. - for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do -mv "$pkgdir"/usr/bin/${name}{,3} - done - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-twisted() { - depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' - 'python2-hyperlink' 'python-attrs' 'python-pyhamcrest') - optdepends=('python2-pyopenssl: for TLS client hostname verification' - 'python2-service-identity: for TLS client hostname verification' - 'python2-idna: for TLS client hostname verification' - 'python2-cryptography: for using conch' - 'python2-pyasn1: for using conch' -
[arch-commits] Commit in twisted/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Date: Monday, July 23, 2018 @ 07:58:47 Author: foutrelis Revision: 329382 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/ twisted/repos/staging-x86_64/PKGBUILD (from rev 329381, twisted/trunk/PKGBUILD) --+ PKGBUILD | 105 + 1 file changed, 105 insertions(+) Copied: twisted/repos/staging-x86_64/PKGBUILD (from rev 329381, twisted/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-07-23 07:58:47 UTC (rev 329382) @@ -0,0 +1,105 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Ionut Biru +# Contributor: Juergen Hoetzel +# Contributor: Douglas Soares de Andrade + +pkgbase=twisted +pkgname=(python-twisted python2-twisted) +pkgver=18.7.0 +_commit=ee535041258e7ef0b3223d2e12cd9aaa0bc2289f +pkgrel=1 +pkgdesc="Asynchronous networking framework written in Python" +arch=('x86_64') +url="https://twistedmatrix.com/; +license=('MIT') +makedepends=('python-zope-interface' 'python2-zope-interface' 'python-setuptools' + 'python2-setuptools' 'python-service-identity' 'python2-service-identity' + 'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly' + 'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink' + 'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest') +checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' + 'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2' + 'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2' + 'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography' + 'python-idna' 'python2-idna' 'python-pyserial' 'python2-pyserial') +#source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz;) +makedepends+=('git') +source=(git+https://github.com/twisted/twisted#commit=$_commit) +sha512sums=('SKIP') + +prepare() { + mv twisted twisted-twisted-$pkgver + cp -a twisted-twisted-$pkgver{,-py2} + + sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ +twisted-twisted-$pkgver-py2/src/twisted/mail/test/pop3testserver.py \ +twisted-twisted-$pkgver-py2/src/twisted/trial/test/scripttest.py +} + +build() { + cd "$srcdir"/twisted-twisted-$pkgver + python setup.py build + + cd "$srcdir"/twisted-twisted-$pkgver-py2 + python2 setup.py build +} + +check() { + export LC_CTYPE=en_US.UTF-8 + + # do glob expansion in variable assignment + pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3* + "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*) + + # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points + PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" + PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed" +} + +package_python-twisted() { + depends=('python-zope-interface' 'python-incremental' 'python-constantly' 'python-automat' + 'python-hyperlink' 'python-attrs' 'python-pyhamcrest') + optdepends=('python-pyopenssl: for TLS client hostname verification' + 'python-service-identity: for TLS client hostname verification' + 'python-idna: for TLS client hostname verification' + 'python-cryptography: for using conch' + 'python-pyasn1: for using conch' + 'python-appdirs: for using conch' + 'python-h2: for http2 support' + 'python-priority: for http2 support' + 'python-pyserial: for serial support' + 'tk: for using tkconch') + + cd twisted-twisted-$pkgver + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + + # twisted in python 3 supports only few command line tools for now. + # Let's rename the tools the other way round after the python 3 version supports all. + for name in trial twistd twist ckeygen cftp conch pyhtmlizer tkconch mailmail; do +mv "$pkgdir"/usr/bin/${name}{,3} + done + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-twisted() { + depends=('python2-zope-interface' 'python2-incremental' 'python2-constantly' 'python2-automat' + 'python2-hyperlink' 'python-attrs' 'python-pyhamcrest') + optdepends=('python2-pyopenssl: for TLS client hostname verification' + 'python2-service-identity: for TLS client hostname verification' + 'python2-idna: for TLS client hostname verification' + 'python2-cryptography: for
[arch-commits] Commit in twisted/repos (staging-x86_64 testing-x86_64)
Date: Monday, October 4, 2010 @ 07:02:45 Author: allan Revision: 94050 db-move: moved twisted from [staging] to [testing] (x86_64) Added: twisted/repos/testing-x86_64/ Deleted: twisted/repos/staging-x86_64/
[arch-commits] Commit in twisted/repos (staging-x86_64)
Date: Sunday, August 29, 2010 @ 12:31:54 Author: remy Revision: 89111 archrelease: remove staging-x86_64 Deleted: twisted/repos/staging-x86_64/
[arch-commits] Commit in twisted/repos (staging-x86_64)
Date: Sunday, August 29, 2010 @ 12:32:16 Author: remy Revision: 89119 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/
[arch-commits] Commit in twisted/repos (staging-x86_64)
Date: Wednesday, August 18, 2010 @ 09:46:21 Author: ibiru Revision: 87858 archrelease: copy trunk to staging-x86_64 Added: twisted/repos/staging-x86_64/