1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-eradicate/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
855 B
Text

# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-eradicate
_pkgname=eradicate
pkgver=2.1.0
pkgrel=1
pkgdesc="Removes commented-out code"
options="!check" # no test suite
url="https://github.com/myint/eradicate"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/e/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
install -Dm644 README.rst -t "$pkgdir"/usr/share/doc/"$pkgname"
}
sha512sums="
6da18395e287aa0d54efe76a88abf64617cde985aaff0b59db6f985d63093b7c8c631cabab556690a1da9a735b0a5e05314991bc6a270cbc2bdffb29df04274a eradicate-2.1.0.tar.gz
"