Date: Tuesday, October 27, 2020 @ 14:37:27 Author: alucryd Revision: 734454
python-trio-asyncio 0.11.0-2: don't install tests in site-packages Modified: python-trio-asyncio/trunk/PKGBUILD ----------+ PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-10-27 14:35:34 UTC (rev 734453) +++ PKGBUILD 2020-10-27 14:37:27 UTC (rev 734454) @@ -2,7 +2,7 @@ pkgname=python-trio-asyncio pkgver=0.11.0 -pkgrel=1 +pkgrel=2 pkgdesc='A re-implementation of the asyncio mainloop on top of Trio' arch=(any) url=https://github.com/python-trio/trio-asyncio @@ -20,7 +20,8 @@ git python-setuptools ) -source=(git+https://github.com/python-trio/trio-asyncio.git#tag=9efa25cf6162688b577f4dfbe23b0ec4a1f9a315) +_tag=9efa25cf6162688b577f4dfbe23b0ec4a1f9a315 +source=(git+https://github.com/python-trio/trio-asyncio.git#tag=${_tag}) sha256sums=(SKIP) pkgver() { @@ -39,6 +40,7 @@ cd trio-asyncio python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + rm -rf ${pkgdir}/usr/lib/python3.8/site-packages/tests install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/ install -Dm 644 LICENSE.MIT -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/ }
