aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-logilab-common/APKBUILD
blob: 9a51f37b7761afa9e614fe315f0daa6dc6803ce0 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-logilab-common
_pkgname=logilab-common
pkgver=1.4.4
pkgrel=0
pkgdesc="A collection of Python3 packages and modules used by Logilab projects"
options="!check" # Tests depend on python2 only libs
url="https://www.logilab.org/project/logilab-common"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python3 py3-six py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-logilab-common" # Backwards compatibility
provides="py-logilab-common=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="a6b52e135748687958649f2cb50449fa1f5af4cea0c398f09dff10821f402ec1be51850843e2393614802014c2f94c14e6b593cb570f4487756b406152943367  logilab-common-1.4.4.tar.gz"