aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bcfg2
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-04-06 11:18:24 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-17 13:40:28 +0000
commit39a65056289376de0854c29ae62f34e4120ad953 (patch)
tree43ceec3a7a4f0a8996ae469dff13da945c4426fa /testing/bcfg2
parentcecc0682d68c28f8b15ee9d64ba7b05867b2bc69 (diff)
downloadaports-39a65056289376de0854c29ae62f34e4120ad953.tar.bz2
aports-39a65056289376de0854c29ae62f34e4120ad953.tar.xz
testing/bcfg2: upgrade to 1.2.2
Diffstat (limited to 'testing/bcfg2')
-rw-r--r--testing/bcfg2/APKBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/testing/bcfg2/APKBUILD b/testing/bcfg2/APKBUILD
index 503d3308d9..b3d392ac8d 100644
--- a/testing/bcfg2/APKBUILD
+++ b/testing/bcfg2/APKBUILD
@@ -1,28 +1,28 @@
# Contributor: Cameron Banta <cbanta@gmail.com>
-# Maintainer: Cameron Banta <cbanta@gmail.com>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=bcfg2
-pkgver=1.1.1
+pkgver=1.2.2
pkgrel=1
-pkgdesc="configuration management tool"
-url="http://trac.mcs.anl.gov/projects/bcfg2"
-arch="all"
-license="Custom"
+pkgdesc="A configuration management tool"
+url="http://bcfg2.org"
+arch="noarch"
+license="BSD"
depends="python"
-makedepends="python-dev"
-install=
+makedepends="python-dev py-setuptools"
+install=""
subpackages="$pkgname-doc $pkgname-server"
source="ftp://ftp.mcs.anl.gov/pub/bcfg/$pkgname-$pkgver.tar.gz
- bcfg2-server.initd
- APK.py"
+ bcfg2-server.initd"
+_builddir="$srcdir"/$pkgname-$pkgver
-#no build needed - pure python
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- cp "$srcdir"/APK.py src/lib/Client/Tools/
- python setup.py bdist_dumb --keep-temp --bdist-dir "$pkgdir"
-
- install -m644 -D COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
+ cd "$_builddir"
+ python setup.py install --root="$pkgdir" || return 1
}
server() {
@@ -36,6 +36,5 @@ server() {
}
-md5sums="f8889d629245ecf67994469ed78fbfeb bcfg2-1.1.1.tar.gz
-9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd
-2acc7c5a8a031a3cb25ab3955d8d1fde APK.py"
+md5sums="4364aa17b848730bc57a926ed072b31e bcfg2-1.2.2.tar.gz
+9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd"