New package: python-cairo-1.10.0; replaces py2cairo
This commit is contained in:
parent
a0996ae717
commit
8423552abc
4 changed files with 11 additions and 9 deletions
|
@ -1 +0,0 @@
|
||||||
py2cairo
|
|
1
srcpkgs/python-cairo-devel
Symbolic link
1
srcpkgs/python-cairo-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-cairo
|
|
@ -1,19 +1,20 @@
|
||||||
# Template file for 'py2cairo'
|
# Template file for 'python-cairo'
|
||||||
pkgname=py2cairo
|
pkgname=python-cairo
|
||||||
version=1.10.0
|
version=1.10.0
|
||||||
revision=3
|
revision=4
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
wrksrc="py2cairo-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config which python-devel"
|
hostmakedepends="automake libtool pkg-config which python-devel"
|
||||||
makedepends="cairo-devel python-devel"
|
makedepends="cairo-devel python-devel"
|
||||||
depends="python"
|
depends="python>=2.7"
|
||||||
replaces="pycairo<1.10"
|
replaces="pycairo<1.10 py2cairo>=0"
|
||||||
pycompile_module="cairo"
|
pycompile_module="cairo"
|
||||||
short_desc="Python2 bindings for the cairo graphics library"
|
short_desc="Python2 bindings for the cairo graphics library"
|
||||||
homepage="http://cairographics.org/pycairo/"
|
homepage="http://cairographics.org/pycairo/"
|
||||||
license="LGPL-3"
|
license="LGPL-3"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.bz2"
|
distfiles="http://cairographics.org/releases/py2cairo-${version}.tar.bz2"
|
||||||
checksum=d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431
|
checksum=d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
@ -30,9 +31,9 @@ do_configure() {
|
||||||
env PYTHON=python ./configure ${configure_args}
|
env PYTHON=python ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
py2cairo-devel_package() {
|
python-cairo-devel_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
replaces="pycairo-devel<1.10"
|
replaces="pycairo-devel<1.10 py2cairo-devel>=0"
|
||||||
depends="python-devel ${sourcepkg}>=${version}_${revision}"
|
depends="python-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -40,3 +41,4 @@ py2cairo-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue