blob: 08ee91e726f3d4fe3bb2a5a0f6fb5bf0a1d0bd21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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"
|