Date: Tuesday, April 28, 2020 @ 15:13:52 Author: sangy Revision: 622037
archrelease: copy trunk to community-any Added: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 622036, python-aiohttp-socks/trunk/PKGBUILD) Deleted: python-aiohttp-socks/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-28 15:13:31 UTC (rev 622036) +++ PKGBUILD 2020-04-28 15:13:52 UTC (rev 622037) @@ -1,31 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> - -pkgname=python-aiohttp-socks -pkgver=0.3.7 -pkgrel=1 -pkgdesc="SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported." -arch=('any') -url="https://github.com/romis2012/aiohttp-socks/" -license=('Apache') -depends=('python-aiohttp') -makedepends=('python' 'python-setuptools') -checkdepends=('python-pytest' 'python-pytest-asyncio') -source=("https://github.com/romis2012/aiohttp-socks/archive/${pkgver}.tar.gz") -sha256sums=('bc431532c3966c5eef4d66d411403c6bfdb84773f97e1f58fa565a3c58ad2ff2') - -check() { - cd "${pkgname//python-}-${pkgver}" - pytest -} - -build() { - cd "${pkgname//python-}-${pkgver}" - python setup.py build - -} - -package() { - cd "${pkgname//python-}-${pkgver}" - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 -} - Copied: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 622036, python-aiohttp-socks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-28 15:13:52 UTC (rev 622037) @@ -0,0 +1,31 @@ +# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> + +pkgname=python-aiohttp-socks +pkgver=0.3.9 +pkgrel=1 +pkgdesc="SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported." +arch=('any') +url="https://github.com/romis2012/aiohttp-socks/" +license=('Apache') +depends=('python-aiohttp') +makedepends=('python' 'python-setuptools') +checkdepends=('python-pytest' 'python-pytest-asyncio') +source=("https://github.com/romis2012/aiohttp-socks/archive/${pkgver}.tar.gz") +sha256sums=('c88b5b308f707823700cbb3d8605f555308566d42683ee4ecc9899dafe2f6456') + +check() { + cd "${pkgname//python-}-${pkgver}" + pytest +} + +build() { + cd "${pkgname//python-}-${pkgver}" + python setup.py build + +} + +package() { + cd "${pkgname//python-}-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 +} +