Skip to content
Snippets Groups Projects
Commit 1c2274e0 authored by Patrycja Rosa's avatar Patrycja Rosa :cat: Committed by alice
Browse files

community/py3-k5test: add basic import test

parent 910f806e
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!37418community/py3-k5test: drop dependency on py3-six, add basic import test
Pipeline #131592 passed
...@@ -10,7 +10,6 @@ arch="noarch" ...@@ -10,7 +10,6 @@ arch="noarch"
license="MIT" license="MIT"
depends="python3 krb5-dev krb5 krb5-server" depends="python3 krb5-dev krb5 krb5-server"
makedepends="py3-setuptools" makedepends="py3-setuptools"
options="!check" # Package doesn't have tests
source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
...@@ -18,6 +17,11 @@ build() { ...@@ -18,6 +17,11 @@ build() {
python3 setup.py build python3 setup.py build
} }
check() {
# no upstream tests
PYTHONPATH=build/lib python3 -c "import k5test"
}
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment