Date: Monday, March 23, 2020 @ 00:29:47 Author: felixonmars Revision: 603645
archrelease: copy trunk to community-any Added: python-txaio/repos/community-any/PKGBUILD (from rev 603644, python-txaio/trunk/PKGBUILD) Deleted: python-txaio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-23 00:29:30 UTC (rev 603644) +++ PKGBUILD 2020-03-23 00:29:47 UTC (rev 603645) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Anatol Pomozov - -pkgname=python-txaio -pkgver=20.1.1 -pkgrel=1 -pkgdesc='Compatibility API between asyncio/Twisted/Trollius' -arch=('any') -url="https://github.com/crossbario/txaio" -license=('MIT') -depends=('python-six') -makedepends=('python-setuptools') -# python-tests is used here: -# https://github.com/crossbario/txaio/blob/v20.1.1/test/_asyncio_test_utils.py#L35 -checkdepends=('python-pytest' 'python-mock' 'python-twisted' 'python-tests') -source=("https://pypi.io/packages/source/t/txaio/txaio-$pkgver.tar.gz") -sha512sums=('a5a631fe9b0e648db66178991353c8e5ec6b1bf653f411dd11b1d3c2df9f205f907ea996a51b53c1722c0412bf5414929c96304e04072f4ed7991f61ea85e9a0') - -prepare() { - # This tests whether pip can install the sdist, and is completely broken - # except in their boutique setup. They won't fix it. - # https://github.com/crossbario/txaio/issues/77#issuecomment-246276723 - rm txaio-$pkgver/test/test_packaging.py -} - -build() { - cd "$srcdir"/txaio-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/txaio-$pkgver - python -m pytest -} - -package() { - cd txaio-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-txaio/repos/community-any/PKGBUILD (from rev 603644, python-txaio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-23 00:29:47 UTC (rev 603645) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Anatol Pomozov + +pkgname=python-txaio +pkgver=20.3.1 +pkgrel=1 +pkgdesc='Compatibility API between asyncio/Twisted/Trollius' +arch=('any') +url="https://github.com/crossbario/txaio" +license=('MIT') +depends=('python-six') +makedepends=('python-setuptools') +# python-tests is used here: +# https://github.com/crossbario/txaio/blob/v20.1.1/test/_asyncio_test_utils.py#L35 +checkdepends=('python-pytest' 'python-mock' 'python-twisted' 'python-tests') +source=("https://pypi.io/packages/source/t/txaio/txaio-$pkgver.tar.gz") +sha512sums=('36d59a2958c32878624606920af5bbe882824e5d53b2c7e3cc30a1be3fd74506dd7c1de9dc6ee3a6fd0b28278f466f80fac25bccb5e977dd9ad275ce697f3105') + +prepare() { + # This tests whether pip can install the sdist, and is completely broken + # except in their boutique setup. They won't fix it. + # https://github.com/crossbario/txaio/issues/77#issuecomment-246276723 + rm txaio-$pkgver/test/test_packaging.py +} + +build() { + cd "$srcdir"/txaio-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/txaio-$pkgver + python -m pytest +} + +package() { + cd txaio-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}