aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-vobject/APKBUILD
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2015-07-20 23:39:31 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-21 06:10:51 +0000
commit2b928b1929e268783af39b79119739caefe38e88 (patch)
tree25430ae5c10c40124d13dcd7542cd3098e2a3391 /main/py-vobject/APKBUILD
parent8a48fd36870ac9b69606df66bebd758a5258c6f2 (diff)
downloadaports-2b928b1929e268783af39b79119739caefe38e88.tar.bz2
aports-2b928b1929e268783af39b79119739caefe38e88.tar.xz
main/py-vobject: move from testing
Diffstat (limited to 'main/py-vobject/APKBUILD')
-rw-r--r--main/py-vobject/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-vobject/APKBUILD b/main/py-vobject/APKBUILD
new file mode 100644
index 0000000000..e2cddf7872
--- /dev/null
+++ b/main/py-vobject/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
+pkgname=py-vobject
+_pkgname=vobject
+pkgver=0.8.1c
+pkgrel=0
+pkgdesc="Module for parsing and generating vCard and vCalendar files"
+url="http://vobject.skyhouseconsulting.com"
+arch="noarch"
+license="Apache"
+depends="python py-dateutil py-icu"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://vobject.skyhouseconsulting.com/${_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="c9686dd74d39fdae140890d9c694c076 vobject-0.8.1c.tar.gz"
+sha256sums="594113117f2017ed837c8f3ce727616f9053baa5a5463a7420c8249b8fc556f5 vobject-0.8.1c.tar.gz"
+sha512sums="3c7071e040172c8ef9e93bb818fb3c5f04912322adaaf56794b00005ff1ee787d54ad6860835be4fb123fa4215c104e1cbc4031dcdab53e96f7dbed771c0fa79 vobject-0.8.1c.tar.gz"