Date: Tuesday, April 7, 2020 @ 01:38:21 Author: sangy Revision: 612284
archrelease: copy trunk to community-any Added: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 612283, 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-07 01:38:02 UTC (rev 612283) +++ PKGBUILD 2020-04-07 01:38:21 UTC (rev 612284) @@ -1,31 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> - -pkgname=python-aiohttp-socks -pkgver=0.3.6 -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=('ec90a409f016b36b71e79a32d24373aca2641177bfaf69c19c31e0ca29bbf66e') - -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 612283, python-aiohttp-socks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-07 01:38:21 UTC (rev 612284) @@ -0,0 +1,31 @@ +# 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 +} +