Date: Tuesday, March 31, 2020 @ 22:54:03 Author: felixonmars Revision: 608504
archrelease: copy trunk to community-any Added: python-txaio/repos/community-any/PKGBUILD (from rev 608503, 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-31 22:53:54 UTC (rev 608503) +++ PKGBUILD 2020-03-31 22:54:03 UTC (rev 608504) @@ -1,40 +0,0 @@ -# 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 -} Copied: python-txaio/repos/community-any/PKGBUILD (from rev 608503, python-txaio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-31 22:54:03 UTC (rev 608504) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Anatol Pomozov + +pkgname=python-txaio +pkgver=20.4.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=('da0269d13d72f4ea14f2e67585cdb74ec5105884c31d81157fb85e92d4eb935b1c13eb1222bd5ecd57a8caa36008cf49de85321e7b67e94159330e1d592d42c4') + +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 +}