aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-netlib/APKBUILD
blob: 4b2723a9c3098566027f80b5b5b767e62d01d4e3 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-netlib
_pkgname=netlib
pkgver=0.16
pkgrel=0
pkgdesc="A Collection of network utility classes"
url="https://github.com/mitmproxy/netlib"
arch="noarch"
license="MIT"
options="!check"
depends="python2 py-openssl py-asn1"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7beb7fa8bde6fb994d15af770d8e0e006d1bdeb499f7f0fbff1466ae99212904ff065f7b2257d6576e7c257c52010baf4dea38fc43ac3fd9832e3e5be41c969f  netlib-0.16.tar.gz"