diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-06 21:33:44 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-06 23:13:56 +0300 |
commit | b63d08d7404b76d494d4be60b32f1dbb34ae5c96 (patch) | |
tree | 01375488f8a6afb2e07c2700109c2a3c793c102d /testing/py3-sphinxcontrib-issuetracker | |
parent | c5f41e0f8ba767fa212d4daa2002b2f4d3ea690f (diff) | |
download | aports-b63d08d7404b76d494d4be60b32f1dbb34ae5c96.tar.bz2 aports-b63d08d7404b76d494d4be60b32f1dbb34ae5c96.tar.xz |
testing/py-sphinxcontrib-issuetracker: upgrade to python3
Diffstat (limited to 'testing/py3-sphinxcontrib-issuetracker')
-rw-r--r-- | testing/py3-sphinxcontrib-issuetracker/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/py3-sphinxcontrib-issuetracker/APKBUILD b/testing/py3-sphinxcontrib-issuetracker/APKBUILD new file mode 100644 index 0000000000..d6d65b1ec7 --- /dev/null +++ b/testing/py3-sphinxcontrib-issuetracker/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-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="py3-sphinx" +depends_dev="" +makedepends="py3-setuptools" +install="" +subpackages="" +source="https://files.pythonhosted.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 +} + +replaces="py-sphinxcontrib-issuetracker" # for backwards compatibility +provides="py-sphinxcontrib-issuetracker=$pkgver-r$pkgrel" # for backwards compatibility + +build() { + cd "$_builddir" + python3 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python3 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" |