Date: Tuesday, August 31, 2021 @ 19:03:49 Author: ffy00 Revision: 1010176
archrelease: copy trunk to community-x86_64 Added: python-asyncpg/repos/community-x86_64/PKGBUILD (from rev 1010175, python-asyncpg/trunk/PKGBUILD) Deleted: python-asyncpg/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-31 19:03:40 UTC (rev 1010175) +++ PKGBUILD 2021-08-31 19:03:49 UTC (rev 1010176) @@ -1,49 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -_pkgname=asyncpg -pkgname=python-$_pkgname -pkgver=0.23.0 -pkgrel=1 -pkgdesc='A fast PostgreSQL Database Client Library for Python/asyncio' -arch=('x86_64') -url='https://github.com/MagicStack/asyncpg' -license=('Apache') -depends=('python') -makedepends=('git' 'python-setuptools' 'cython') -checkdepends=('python-pytest-runner' 'python-uvloop' 'postgresql') -source=("git+$url.git#tag=v$pkgver" - 'git+https://github.com/MagicStack/py-pgproto.git') -sha512sums=('SKIP' - 'SKIP') - -prepare() { - cd $_pkgname - - git submodule init - git config submodule.asyncpg/pgproto.url "$srcdir"/py-pgproto - git submodule update - - sed -i "s|'Cython==.*'|'Cython'|" setup.py -} - -build() { - cd $_pkgname - - python setup.py build_py build_ext -} - -check() { - cd $_pkgname - - python setup.py pytest -} - -package() { - cd $_pkgname - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-asyncpg/repos/community-x86_64/PKGBUILD (from rev 1010175, python-asyncpg/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-31 19:03:49 UTC (rev 1010176) @@ -0,0 +1,49 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=asyncpg +pkgname=python-$_pkgname +pkgver=0.24.0 +pkgrel=1 +pkgdesc='A fast PostgreSQL Database Client Library for Python/asyncio' +arch=('x86_64') +url='https://github.com/MagicStack/asyncpg' +license=('Apache') +depends=('python') +makedepends=('git' 'python-setuptools' 'cython') +checkdepends=('python-pytest-runner' 'python-uvloop' 'postgresql') +source=("git+$url.git#tag=v$pkgver" + 'git+https://github.com/MagicStack/py-pgproto.git') +sha512sums=('SKIP' + 'SKIP') + +prepare() { + cd $_pkgname + + git submodule init + git config submodule.asyncpg/pgproto.url "$srcdir"/py-pgproto + git submodule update + + sed -i "s|'Cython==.*'|'Cython'|" setup.py +} + +build() { + cd $_pkgname + + python setup.py build_py build_ext +} + +check() { + cd $_pkgname + + python setup.py pytest +} + +package() { + cd $_pkgname + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: