diff options
-rw-r--r-- | user/py3-distutils-extra/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-distutils-extra/APKBUILD b/user/py3-distutils-extra/APKBUILD new file mode 100644 index 000000000..188127baa --- /dev/null +++ b/user/py3-distutils-extra/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=py3-distutils-extra +pkgver=2.39 +pkgrel=0 +pkgdesc="Python distutils extras for gettext, themed icons, and scrollkeepr docs" +url="https://launchpad.net/python-distutils-extra" +arch="noarch" +license="GPL-2.0-only" +depends="python3" +source="https://launchpad.net/python-distutils-extra/trunk/$pkgver/+download/python-distutils-extra-$pkgver.tar.gz" +sha512sums="e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e python-distutils-extra-2.39.tar.gz" +builddir="$srcdir/python-distutils-extra-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + |