New package: python-kiwisolver-1.0.1
This commit is contained in:
parent
0b239e6ba8
commit
5d2d7c89a5
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-kiwisolver/template
Normal file
30
srcpkgs/python-kiwisolver/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'python-kiwisolver'
|
||||
pkgname=python-kiwisolver
|
||||
version=1.0.1
|
||||
revision=1
|
||||
wrksrc="kiwisolver-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Fast implementation of the Cassowary constraint solver (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/nucleic/kiwi"
|
||||
license="BSD-3-Clause"
|
||||
distfiles="${PYPI_SITE}/k/kiwisolver/kiwisolver-${version}.tar.gz"
|
||||
checksum=ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278
|
||||
|
||||
pre_build() {
|
||||
# remove dependency on setuptools; it's not a runtime dependency
|
||||
sed -i '/install_requires/d' setup.py
|
||||
}
|
||||
post_install() {
|
||||
vlicense COPYING.txt LICENSE
|
||||
}
|
||||
|
||||
python3-kiwisolver_package() {
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense COPYING.txt LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-kiwisolver
Symbolic link
1
srcpkgs/python3-kiwisolver
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-kiwisolver
|
Loading…
Add table
Reference in a new issue