psykose a435ef42d2 */*: remove pointless python optimise
this doesn't really "optimise" the python or do much to improve
performance.

it's identical to running python with -O or setting PYTHONOPTIMISE= in
the environment.

doing it here just doubles the disk space for the pre-cached files
generated by python on startup with optimisations
2023-01-10 04:18:42 +01:00

32 lines
805 B
Plaintext

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-snuggs
_pkgname=snuggs
pkgver=1.4.7
pkgrel=5
pkgdesc="Snuggs are s-expressions for Numpy"
url="https://pypi.org/project/snuggs/"
arch="noarch"
license="MIT"
depends="python3 py3-numpy py3-parsing"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-hypothesis"
source="$_pkgname-$pkgver.tar.gz::https://github.com/mapbox/snuggs/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
c1f40e521d1b0cf15075b22b04000c74ecbd0522cdd820b8c159aac812924d877349b3f3bca93b09eed5b025a34c26665a41c7a52a8145419558b115cf8ef361 snuggs-1.4.7.tar.gz
"