aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-logilab-common/APKBUILD
blob: 71473b6a0820f21325e2d14578c1d224feb9e97f (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.5.1
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="2cea358f58d17b96931d6812d794d6df2deb833fd62dd2f20c14b084c15c9496636e532c2aa4bca48742859be421dec0f5f94e4a5c383ec93e088efc7b074204  logilab-common-1.5.1.tar.gz"