1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-ifaddr/APKBUILD
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

30 lines
773 B
Text

# Contributor: David Florness <david@florness.com>
# Maintainer: David Florness <david@florness.com>
pkgname=py3-ifaddr
pkgver=0.2.0
pkgrel=2
pkgdesc="Enumerates all IP addresses on all network adapters of the system"
url="https://github.com/pydron/ifaddr"
arch="noarch"
license="MIT"
options="!check"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/pydron/ifaddr/archive/$pkgver/ifaddr-$pkgver.tar.gz"
builddir="$srcdir/ifaddr-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="
47d26932ecf1aabbbecc738ac0d9a6d276f3e3131650b76896553db3f17392916357d31991d7098ff3efa1cb6bec20a41848be03221d179c2f454f94a39cb587 ifaddr-0.2.0.tar.gz
"