diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-07 21:21:40 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-09 22:43:20 +0300 |
commit | 694726720a6a826735c796dea96cc6bbd5fa7080 (patch) | |
tree | 9fbad25389f0cbf85cb2ce876871b0b31482c341 /testing/py3-sphinxcontrib-phpdomain | |
parent | 92f385d53ccaa0866feea895342f87fea070af9a (diff) | |
download | aports-694726720a6a826735c796dea96cc6bbd5fa7080.tar.bz2 aports-694726720a6a826735c796dea96cc6bbd5fa7080.tar.xz |
testing/py-sphinxcontrib-phpdomain: upgrade to python3
Diffstat (limited to 'testing/py3-sphinxcontrib-phpdomain')
-rw-r--r-- | testing/py3-sphinxcontrib-phpdomain/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/py3-sphinxcontrib-phpdomain/APKBUILD b/testing/py3-sphinxcontrib-phpdomain/APKBUILD new file mode 100644 index 0000000000..ffbbaa32ab --- /dev/null +++ b/testing/py3-sphinxcontrib-phpdomain/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-sphinxcontrib-phpdomain +_pkgname=sphinxcontrib-phpdomain +pkgver=0.1.4 +pkgrel=0 +pkgdesc="Sphinx phpdomain extension" +url="https://pypi.python.org/pypi/sphinxcontrib-phpdomain" +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-phpdomain" # for backwards compatibility +provides=py-sphinxcontrib-phpdomain=$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="03ce0f0569db0217f7471c2f7e952841 sphinxcontrib-phpdomain-0.1.4.tar.gz" +sha256sums="497523d6bd707438a5d219f9adbe008df860c75ec299e314a71dbe3caf2c428b sphinxcontrib-phpdomain-0.1.4.tar.gz" +sha512sums="38db162f7ae3b223ce355cef90a6e239af995045a769929a144c3158c14d2c3ea8330165efe9bc6325581330ec71f08d40078c2e55d9a6812fa82820d3f24ced sphinxcontrib-phpdomain-0.1.4.tar.gz" |