diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-10 08:55:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-02 09:02:52 +0000 |
commit | 52cc00305fc187398b7f673ab73d3556fa2655ab (patch) | |
tree | 821f831b3d8fcfa88177dc7816a44b083db638d0 /testing/py-sphinxcontrib-httpdomain | |
parent | 8e7ae4f535ac0ee77daa300389ec7b8c7405d844 (diff) | |
download | aports-52cc00305fc187398b7f673ab73d3556fa2655ab.tar.bz2 aports-52cc00305fc187398b7f673ab73d3556fa2655ab.tar.xz |
testing/py-sphinxcontrib-httpdomain: new aport
Sphinx httpdomain extension
https://pypi.python.org/pypi/sphinxcontrib-httpdomain
Diffstat (limited to 'testing/py-sphinxcontrib-httpdomain')
-rw-r--r-- | testing/py-sphinxcontrib-httpdomain/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-httpdomain/APKBUILD b/testing/py-sphinxcontrib-httpdomain/APKBUILD new file mode 100644 index 0000000000..291a7a6285 --- /dev/null +++ b/testing/py-sphinxcontrib-httpdomain/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-sphinxcontrib-httpdomain +_pkgname=sphinxcontrib-httpdomain +pkgver=1.1.9 +pkgrel=0 +pkgdesc="Sphinx httpdomain extension" +url="https://pypi.python.org/pypi/sphinxcontrib-httpdomain" +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="0f63aea612cc9e0b55a6c39e5b0f87b7 sphinxcontrib-httpdomain-1.1.9.tar.gz" +sha256sums="560eec7b60872cb570dd6a4f29f8d717a2217dfec775919651e8adf0e55a585a sphinxcontrib-httpdomain-1.1.9.tar.gz" +sha512sums="015ff76b7f6f6639e6b9e228209b8dc06ce435049d08cf513d40914015c17ca21df905f7d505951508e7255ce273c95700e3ae415f54afdebc8ef03fd3707283 sphinxcontrib-httpdomain-1.1.9.tar.gz" |