blob: 86739532b414e393997fbf5a11ca7cf66df0814d (
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.3
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="dad1d5f72d326ca01e1b64f48ee911ac bumpy-0.4.3.tar.gz"
sha256sums="1bff350934a0ca609612ffe5d7d54c22ca0ef520008bb4bd95768f377bc69a9c bumpy-0.4.3.tar.gz"
sha512sums="b93c8f21d675d7559c35b386b8d82030679b5873c4983ce5d3e55866229bf020f7f063c0f12b643d76acf7da7a524bb4a31a819f44589b6ed9afcaaf29d4fe3a bumpy-0.4.3.tar.gz"
|