mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/py-pykka: clarify license, improve abuild
This commit is contained in:
parent
b41e405818
commit
77ed4d989d
@ -3,10 +3,10 @@
|
||||
pkgname=py-pykka
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="Easy to use concurrency abstractions for Python using the actor model"
|
||||
url="http://pykka.readthedocs.org/"
|
||||
pkgdesc="Concurrency abstractions for Python using the actor model"
|
||||
url="http://pykka.readthedocs.org"
|
||||
arch="noarch"
|
||||
license="Apache"
|
||||
license="Apache-2.0"
|
||||
depends="python2 python3"
|
||||
depends_dev=""
|
||||
makedepends="python2-dev python3-dev py-setuptools"
|
||||
@ -14,10 +14,10 @@ install=""
|
||||
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
|
||||
source="https://files.pythonhosted.org/packages/source/P/Pykka/Pykka-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/Pykka-$pkgver
|
||||
builddir="$srcdir"/Pykka-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
}
|
||||
@ -41,7 +41,7 @@ _py() {
|
||||
depends="$depends $python"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel $python"
|
||||
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
$python setup.py install --prefix=/usr --root="$subpkgdir"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user