aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-bitbucket/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-07 22:36:47 +0300
committerprspkt <prspkt@protonmail.com>2019-06-08 16:18:06 +0300
commit59aee7058f43efe96e56f92d46699390ac6c3d96 (patch)
treefc6f8367c21e4778e8431a72121968a79724a128 /testing/py3-sphinxcontrib-bitbucket/APKBUILD
parent4860e891a3099f3bc8017b2aa4e3a62b74fd356d (diff)
downloadaports-59aee7058f43efe96e56f92d46699390ac6c3d96.tar.bz2
aports-59aee7058f43efe96e56f92d46699390ac6c3d96.tar.xz
testing/py3-sphinxcontrib-bitbucket: clarify license, modernize
Diffstat (limited to 'testing/py3-sphinxcontrib-bitbucket/APKBUILD')
-rw-r--r--testing/py3-sphinxcontrib-bitbucket/APKBUILD23
1 files changed, 4 insertions, 19 deletions
diff --git a/testing/py3-sphinxcontrib-bitbucket/APKBUILD b/testing/py3-sphinxcontrib-bitbucket/APKBUILD
index 0cdc105ee8..aa921cfc96 100644
--- a/testing/py3-sphinxcontrib-bitbucket/APKBUILD
+++ b/testing/py3-sphinxcontrib-bitbucket/APKBUILD
@@ -7,37 +7,22 @@ pkgrel=0
pkgdesc="Sphinx BitBucket extension"
url="https://pypi.python.org/pypi/sphinxcontrib-bitbucket"
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
fix-python3.patch"
-
-_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
-}
+builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-sphinxcontrib-bitbucket" # Backwards compatibility
provides="py-sphinxcontrib-bitbucket=$pkgver-r$pkgrel" # Backwards compatibility
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"
}
sha512sums="e018fceecc24b7a9656d57a9855c824665948f877394b7ca6b0f22473bf83492d4155a9c9960cf18e9b10268f2928d0762a4ad48ffee2ebb819275d563751e18 sphinxcontrib-bitbucket-1.0.tar.gz