diff options
-rw-r--r-- | testing/py3-sphinxcontrib-httpdomain/APKBUILD | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/testing/py3-sphinxcontrib-httpdomain/APKBUILD b/testing/py3-sphinxcontrib-httpdomain/APKBUILD index 9db9070c75..98f581506a 100644 --- a/testing/py3-sphinxcontrib-httpdomain/APKBUILD +++ b/testing/py3-sphinxcontrib-httpdomain/APKBUILD @@ -7,39 +7,21 @@ pkgrel=0 pkgdesc="Sphinx httpdomain extension" url="https://pypi.python.org/pypi/sphinxcontrib-httpdomain" arch="noarch" -license="BSD" +license="BSD-2-Clause" 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 +builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinxcontrib-httpdomain" # for backwards compatibility provides="py-sphinxcontrib-httpdomain=$pkgver-r$pkgrel" # for backwards compatibility -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" - python3 setup.py build || return 1 + python3 setup.py build } package() { - cd "$_builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="ad7ea42bd4c7c0ee57b1cb25bbf24aab sphinxcontrib-httpdomain-1.3.0.tar.gz" -sha256sums="ba8fbe82eddc96cfa9d7b975b0422801a14ace9d7e051b8b2c725b92ea6137b5 sphinxcontrib-httpdomain-1.3.0.tar.gz" sha512sums="2f6df6375337d651f4ed26c2aaf20929a4b31fae881ebc68fcab5cd085f52661c00a943872a9e7199d5af893b3f77434346fd493925cd148681da048aead20af sphinxcontrib-httpdomain-1.3.0.tar.gz" |