mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-29 23:42:03 +01:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-augeas
|
|
_pkgname=python-augeas
|
|
pkgver=1.1.0
|
|
pkgrel=4
|
|
pkgdesc="Pure python bindings for augeas"
|
|
url="https://pypi.org/project/python-augeas"
|
|
arch="noarch"
|
|
license="LGPL-2.1-or-later"
|
|
depends="augeas-libs py3-cffi python3"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
dlopen-libc-explicitly.patch
|
|
"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces=py-augeas # Backwards compatibility
|
|
provides=py-augeas=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/test
|
|
python3 test_augeas.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/test
|
|
}
|
|
|
|
sha512sums="34e4e98219b9146ef843d94c2e854e951a9b7e81409e603e77e7defdbb8765c013a2c869a4f5db2244352ca35656e18667a0210dd24099cb3e4552a04b23aef8 python-augeas-1.1.0.tar.gz
|
|
b345a2e060fbdfbcfa5206fb69998708ff56b98831318fa3b80569b6aeadf6e18d78e23ee8afa8db986e8b708550b2ec1d3e54c7c88887a4775d9ddff85c85a4 dlopen-libc-explicitly.patch"
|