Date: Saturday, January 18, 2020 @ 21:13:00 Author: anthraxx Revision: 553105
archrelease: copy trunk to community-x86_64 Added: python-yarl/repos/community-x86_64/PKGBUILD (from rev 553104, python-yarl/trunk/PKGBUILD) Deleted: python-yarl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-18 21:12:55 UTC (rev 553104) +++ PKGBUILD 2020-01-18 21:13:00 UTC (rev 553105) @@ -1,33 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -_pkgname=yarl -pkgname=python-yarl -pkgver=1.3.0 -pkgrel=3 -pkgdesc='Yet another URL library' -url='https://github.com/aio-libs/yarl/' -arch=('x86_64') -license=('Apache') -depends=('glibc' 'python' 'python-multidict' 'python-idna') -makedepends=('cython' 'python-setuptools') -checkdepends=('python-pytest' 'python-pytest-runner') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/yarl/archive/v${pkgver}.tar.gz) -sha256sums=('0d4acfd6c750612871e11c49eea43213949f1528686a184eefc1366142a6fbb3') -sha512sums=('36c55ac73830629045399e409f9e097d2e231e64f457c095003a2dd0e48899145e5e970a397458c8b1b1fbd8c24885774cf6bd7ea0b9bf67cd192c46be90af83') - -build() { - cd ${_pkgname}-${pkgver} - LANG=en_US.UTF-8 python setup.py build -} - -check() { - cd ${_pkgname}-${pkgver} - python setup.py test -} - -package() { - cd ${_pkgname}-${pkgver} - LANG=en_US.UTF-8 python setup.py install --root="${pkgdir}" -O1 --skip-build -} - -# vim: ts=2 sw=2 et: Copied: python-yarl/repos/community-x86_64/PKGBUILD (from rev 553104, python-yarl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-18 21:13:00 UTC (rev 553105) @@ -0,0 +1,39 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +_pkgname=yarl +pkgname=python-yarl +pkgver=1.4.2 +pkgrel=1 +pkgdesc='Yet another URL library' +url='https://github.com/aio-libs/yarl/' +arch=('x86_64') +license=('Apache') +depends=('glibc' 'python' 'python-multidict' 'python-idna') +makedepends=('cython' 'python-setuptools') +checkdepends=('python-pytest' 'python-pytest-runner') +source=(https://github.com/aio-libs/yarl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('63c2802c8bf6b96d7f4bd309d42d90c007e3fe8b44113db191b02d7acb59c2583a95b5c91563012b7e052f9ad2bc5c0c3776219e3000926809ca0fb374686a6e') +b2sums=('3fdf101c70928eda2c823e95a4b1dd6bd7b5e670cc316371f34baf34247f5b46887808c44bddbd7707f9e2b978a3478f451d523104cbfb3bdaaa8a4b2f2ee113') + +prepare() { + cd ${_pkgname}-${pkgver} + sed 's| .install-cython ||g' -i Makefile +} + +build() { + cd ${_pkgname}-${pkgver} + make cythonize + LANG=en_US.UTF-8 python setup.py build +} + +check() { + cd ${_pkgname}-${pkgver} + python setup.py test +} + +package() { + cd ${_pkgname}-${pkgver} + LANG=en_US.UTF-8 python setup.py install --root="${pkgdir}" -O1 --skip-build +} + +# vim: ts=2 sw=2 et: