aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-spelling
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-29 01:25:31 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-31 06:18:21 +0000
commitc699ee266326677f8b15bfdfa3a9d924ddce8ff3 (patch)
treef348eccad6bc387813a2123716c5f84e118d9af1 /testing/py-sphinxcontrib-spelling
parente85b21e9d98fc3a87ac85d1366b6911704864f11 (diff)
downloadaports-c699ee266326677f8b15bfdfa3a9d924ddce8ff3.tar.bz2
aports-c699ee266326677f8b15bfdfa3a9d924ddce8ff3.tar.xz
testing/py-sphinxcontrib-spelling: clarify license, modernize
Diffstat (limited to 'testing/py-sphinxcontrib-spelling')
-rw-r--r--testing/py-sphinxcontrib-spelling/APKBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/testing/py-sphinxcontrib-spelling/APKBUILD b/testing/py-sphinxcontrib-spelling/APKBUILD
index e694cbae6b..c64a188dc9 100644
--- a/testing/py-sphinxcontrib-spelling/APKBUILD
+++ b/testing/py-sphinxcontrib-spelling/APKBUILD
@@ -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
}