mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
28 lines
1 KiB
Text
28 lines
1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-logilab-common
|
|
_pkgname=logilab-common
|
|
pkgver=1.4.3
|
|
pkgrel=1
|
|
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="6546df2f78e09ec7e02e12c8cb6e6f85b34be1dc5f79cc24351b0eb354c943c17410d22cb283a30b3912c48e7c93e0b04c648ae7620a6b4158e9b7240218e719 logilab-common-1.4.3.tar.gz"
|