Date: Monday, March 23, 2020 @ 15:38:11 Author: sangy Revision: 603734
archrelease: copy trunk to community-any Added: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 603733, python-aiohttp-socks/trunk/PKGBUILD) Deleted: python-aiohttp-socks/repos/community-any/PKGBUILD ----------+ PKGBUILD | 56 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 25 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-23 15:37:48 UTC (rev 603733) +++ PKGBUILD 2020-03-23 15:38:11 UTC (rev 603734) @@ -1,25 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> - -pkgname=python-aiohttp-socks -pkgver=0.3.4 -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' 'git') -checkdepends=('python-pytest' 'python-pytest-asyncio') -source=("git+https://github.com/romis2012/aiohttp-socks.git?tag=v${pkgver}") -sha256sums=('SKIP') - -check() { - cd "aiohttp-socks" - pytest -} - -package() { - cd "aiohttp-socks" - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 -} - Copied: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 603733, python-aiohttp-socks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-23 15:38:11 UTC (rev 603734) @@ -0,0 +1,31 @@ +# 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 +} +