diff options
Diffstat (limited to 'testing/py3-sphinxcontrib-lassodomain/APKBUILD')
-rw-r--r-- | testing/py3-sphinxcontrib-lassodomain/APKBUILD | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/testing/py3-sphinxcontrib-lassodomain/APKBUILD b/testing/py3-sphinxcontrib-lassodomain/APKBUILD index 61973f725b..b21e9f18d7 100644 --- a/testing/py3-sphinxcontrib-lassodomain/APKBUILD +++ b/testing/py3-sphinxcontrib-lassodomain/APKBUILD @@ -7,38 +7,21 @@ pkgrel=0 pkgdesc="Sphinx lassodomain extension" url="https://pypi.python.org/pypi/sphinxcontrib-lassodomain" 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 -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-lassodomain" # Backwards compatibility provides="py-sphinxcontrib-lassodomain=$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" } -md5sums="8f6e55cffb24dd87df2e8e02ff23c5df sphinxcontrib-lassodomain-0.1.tar.gz" -sha256sums="97fbb7ad9e4dc2c36ae739b339465e94cf8e97eb08260dece635e1bd4f31daf8 sphinxcontrib-lassodomain-0.1.tar.gz" sha512sums="858013bdf3afb94b82c755142786ae23e07c9686c9b08c632575ecf1b0909cde8ce36ea77f7b719601bf9eaf72b72ac3f0a4dd4dce4a9bfb99398bf278d3ed33 sphinxcontrib-lassodomain-0.1.tar.gz" |