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

main/py3-build: run basic check

parent e64b9dfd
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38844main/py3-build: run basic check
Pipeline #135914 passed
......@@ -3,14 +3,12 @@
pkgname=py3-build
_pkgname=build
pkgver=0.8.0
pkgrel=0
pkgrel=1
pkgdesc="Correct PEP517 package builder"
url="https://github.com/pypa/build"
arch="noarch"
license="MIT"
depends="python3 py3-packaging py3-pep517 py3-tomli"
# Test suite is not shipped at the moment
options="!check"
makedepends="py3-setuptools py3-wheel"
source="https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
......@@ -22,6 +20,11 @@ build() {
python3 setup.py build
}
# Test suite is not shipped at the moment
check() {
PYTHONPATH=build/lib python3 -m build --version
}
package() {
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