blob: 53bbf19d1e960258e26b8b94db4712b2dac4670e (
plain)
1 # Description: library with cross-python path, ini-parsing, io, code, log facilities
2 # URL: https://github.com/pytest-dev/py
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-apipkg python3-iniconfig
5
6 name=python3-py
7 version=1.11.0
8 release=1
9 source=(https://github.com/pytest-dev/py/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd py-$version
13 rm -r py/_vendored_packages
14 export LC_CTYPE=en_US.UTF-8
15 export SETUPTOOLS_SCM_PRETEND_VERSION=$version
16 /usr/bin/python3 setup.py build
17 /usr/bin/python3 setup.py install --prefix=/usr \
18 --root=$PKG \
19 --skip-build \
20 -O1
21 }
|