blob: 870bac33e515fb7c4807e1837508b3b33b5de557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
# PKGBUILD Based on : python-aiohttp/PKGBUILD
_pkgname=python-aiohttp_socks
pkgname=python-aiohttp_socks
pkgver=20181230
pkgrel=2
pkgdesc='SOCKS proxy connector for aiohttp'
url='https://github.com/romis2012/aiohttp-socks'
arch=('x86_64')
license=('Apache')
depends=('python-aiohttp')
makedepends=('python-pytest'
'git')
conflicts=('python-aiohttp-socks')
source=(${pkgname}::"git+https://github.com/romis2012/aiohttp-socks.git")
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
}
build() {
cd ${pkgname}
python setup.py build
}
check() {
cd ${pkgname}
python setup.py test
}
package() {
cd ${pkgname}
python setup.py install --root="${pkgdir}" -O1 --skip-build
}
|