mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-sphinxcontrib-spelling: clarify license, modernize
This commit is contained in:
parent
e85b21e9d9
commit
c699ee2663
@ -7,7 +7,7 @@ pkgrel=0
|
||||
pkgdesc="Sphinx spelling extension"
|
||||
url="https://pypi.python.org/pypi/sphinxcontrib-spelling"
|
||||
arch="noarch"
|
||||
license="BSD"
|
||||
license="BSD-2-Clause"
|
||||
depends="py-sphinx py-enchant"
|
||||
depends_dev=""
|
||||
makedepends="python2-dev python3-dev py-setuptools"
|
||||
@ -15,20 +15,11 @@ install=""
|
||||
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
|
||||
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
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
python2 setup.py build || return 1
|
||||
cd "$builddir"
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user