blob: 34932670319d17acc5465a5067cf412d230abdab (
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-reconfigure
_pkgname=reconfigure
pkgver=0.1.33
pkgrel=0
pkgdesc="A Python library for parsing and generation configuration file formats"
url="https://github.com/Eugeny/reconfigure"
arch="noarch"
license="LGPL3+"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://github.com/Eugeny/reconfigure/archive/$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="b3ce28ceac3641e43a95f32c365af9a8 reconfigure-0.1.33.tar.gz"
sha256sums="c8ac576d2351fef9b664ceb03ede8a582b49f42e62dde0fdefc2e4c745b1953f reconfigure-0.1.33.tar.gz"
sha512sums="d259b1033374ad14d94efea77361c1a3d242f88ec2e1e6728fa5df4dc4c69cdedc9cec4c2031bf6e120f1be92d5d91f985bb6933700dce1cb3bdd9dc3df03508 reconfigure-0.1.33.tar.gz"
|