diff options
Diffstat (limited to 'testing/py-sphinxcontrib-issuetracker/APKBUILD')
-rw-r--r-- | testing/py-sphinxcontrib-issuetracker/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-issuetracker/APKBUILD b/testing/py-sphinxcontrib-issuetracker/APKBUILD new file mode 100644 index 0000000000..cf9aae42f2 --- /dev/null +++ b/testing/py-sphinxcontrib-issuetracker/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-sphinxcontrib-issuetracker +_pkgname=sphinxcontrib-issuetracker +pkgver=0.11 +pkgrel=0 +pkgdesc="Sphinx issuetracker extension" +url="https://pypi.python.org/pypi/sphinxcontrib-issuetracker" +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="69c2f0e5770c5d7bad73f60f8d764e28 sphinxcontrib-issuetracker-0.11.tar.gz" +sha256sums="843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e sphinxcontrib-issuetracker-0.11.tar.gz" +sha512sums="fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9 sphinxcontrib-issuetracker-0.11.tar.gz" |