archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-rfc6555 / repos / community-any / PKGBUILD
bloba74358061882b9be8bcb023e04cd8fa4cac19b80
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=python-rfc6555
4 pkgver=0.1.0
5 pkgrel=2
6 arch=('any')
7 url="https://pypi.org/project/rfc6555/"
8 license=('Apache')
9 pkgdesc="Python implementation of the Happy Eyeballs Algorithm described in RFC 6555."
10 depends=('python')
11 makedepends=('python-setuptools')
12 #checkdepends=('python-tox')
13 source=("https://pypi.io/packages/source/r/rfc6555/rfc6555-$pkgver.tar.gz")
14 sha256sums=('123905b8f68e2bec0c15f321998a262b27e2eaadea29a28bd270021ada411b67')
16 build() {
17   cd rfc6555-${pkgver}
18   python setup.py build
21 # failing for now
22 # check() {
23 #   cd "${srcdir}/rfc6555-${pkgver}"
24 #   tox
25 # }
27 package() {
28   cd rfc6555-${pkgver}
29   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build