mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-bumpy
|
|
_pkgname=bumpy
|
|
pkgver=0.4.2
|
|
pkgrel=0
|
|
pkgdesc="A Python file builder and CLI tool"
|
|
url="http://github.com/scizzorz/bumpy"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python"
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="4c81ec8dd065d8f9929f87b1d0c31412 bumpy-0.4.2.tar.gz"
|
|
sha256sums="36e387dea826c8469d57832deafa0c8829a82d8c857b721eaddacd8c0eb5335b bumpy-0.4.2.tar.gz"
|
|
sha512sums="05ca73d0f2fde7a2d6e6193521d3c0e463fa0bc15e70c966557a6904ec2556e357ccd7000ee8128fe3139da35b446eae5043a620eeaefd23abc5246be68875c7 bumpy-0.4.2.tar.gz"
|