aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-bitbucket/APKBUILD
blob: aa921cfc96d376c8c38adfb688b026fe097bf72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-bitbucket
_pkgname=sphinxcontrib-bitbucket
pkgver=1.0
pkgrel=0
pkgdesc="Sphinx BitBucket extension"
url="https://pypi.python.org/pypi/sphinxcontrib-bitbucket"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	fix-python3.patch"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-bitbucket" # Backwards compatibility
provides="py-sphinxcontrib-bitbucket=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e018fceecc24b7a9656d57a9855c824665948f877394b7ca6b0f22473bf83492d4155a9c9960cf18e9b10268f2928d0762a4ad48ffee2ebb819275d563751e18  sphinxcontrib-bitbucket-1.0.tar.gz
4e98838a71d14f6b5b4ad1780617a2fd91470c8952e7ec9507dbc6ebb48bf4830d0f21bdca4aded10cf7979e6bd772113df326e9a9df4778176d1786cba999e2  fix-python3.patch"