aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2014-10-04 12:41:09 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2014-11-27 07:53:59 +0000
commit861e460d6d676768d0dd6548acdd9197367393b4 (patch)
tree3d20126e25b142bdf39f1c6da73c63d661149da1 /testing
parent1b962fbc20e40573846990a5212c5ea34cb1cf40 (diff)
downloadaports-861e460d6d676768d0dd6548acdd9197367393b4.tar.bz2
aports-861e460d6d676768d0dd6548acdd9197367393b4.tar.xz
testing/py-sphinxcontrib-gravatar: new aport
Sphinx "gravatar" extension https://pypi.python.org/pypi/sphinxcontrib-gravatar
Diffstat (limited to 'testing')
-rw-r--r--testing/py-sphinxcontrib-gravatar/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-gravatar/APKBUILD b/testing/py-sphinxcontrib-gravatar/APKBUILD
new file mode 100644
index 0000000000..0ce1fff958
--- /dev/null
+++ b/testing/py-sphinxcontrib-gravatar/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-sphinxcontrib-gravatar
+_pkgname=sphinxcontrib-gravatar
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Sphinx gravatar extension"
+url="https://pypi.python.org/pypi/sphinxcontrib-gravatar"
+arch="noarch"
+license="BSD"
+depends="python py-sphinx"
+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="5e30b438dd76e15a8a8ddf4a87422101 sphinxcontrib-gravatar-0.1.0.tar.gz"
+sha256sums="055665d3536345d4c2d7e3d6d11a22be0bb773124f8cdbdd3adc22d2f65c43e7 sphinxcontrib-gravatar-0.1.0.tar.gz"
+sha512sums="2e59b7c47b6c5f3e90880f1e32ad4e42e70bc3498edd3f3630256fc28f921c2cac1881001b960206f95b39cb970f097c97a2de0eaff27d3afb3b4c20e78933b8 sphinxcontrib-gravatar-0.1.0.tar.gz"