New package: python-atspi-2.12.0 with 3.4 subpkg, replaces pyatspi
Revbump caribou.
This commit is contained in:
parent
2292e155b9
commit
ed97beac91
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'caribou'
|
||||
pkgname=caribou
|
||||
version=0.4.13
|
||||
revision=5
|
||||
revision=6
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
|
||||
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
|
||||
makedepends="vala-devel>=0.24 libxklavier-devel libgee08-devel python-gobject-devel
|
||||
clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
|
||||
depends="python-gobject pyatspi python-dbus gir-freedesktop at-spi2-atk
|
||||
depends="python-gobject python-atspi python-dbus gir-freedesktop at-spi2-atk
|
||||
desktop-file-utils"
|
||||
pycompile_module="$pkgname"
|
||||
short_desc="An alternative to the Gnome On-screen Keyboard"
|
||||
|
|
56
srcpkgs/python-atspi/template
Normal file
56
srcpkgs/python-atspi/template
Normal file
|
@ -0,0 +1,56 @@
|
|||
# Template file for 'python-atspi'
|
||||
pkgname=python-atspi
|
||||
version=2.12.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="pyatspi-${version}"
|
||||
build_style=gnu-configure
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="pkg-config which"
|
||||
makedepends="at-spi2-core-devel>=2.10 python-gobject-devel>=3.10"
|
||||
depends="${makedepends/-devel/}"
|
||||
replaces="pyatspi>=0"
|
||||
pycompile_module="pyatspi"
|
||||
short_desc="Python2 bindings for AT-SPI"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnome.org/"
|
||||
license="GPL-2"
|
||||
distfiles="${GNOME_SITE}/pyatspi/${version%.*}/pyatspi-${version}.tar.xz"
|
||||
checksum=4e6cd801412a090dcc7ec2a27298dee5e84dc0af11479d5d5c061254b8ea6ac4
|
||||
|
||||
do_configure() {
|
||||
mkdir ${wrksrc}/python2-build
|
||||
cd ${wrksrc}/python2-build
|
||||
../configure ${configure_args} --with-python=/usr/bin/python
|
||||
|
||||
mkdir ${wrksrc}/python3.4-build
|
||||
cd ${wrksrc}/python3.4-build
|
||||
../configure ${configure_args} --with-python=/usr/bin/python3.4
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}/python2-build
|
||||
make ${makejobs}
|
||||
|
||||
cd ${wrksrc}/python3.4-build
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${wrksrc}/python2-build
|
||||
make DESTDIR=${DESTDIR} install
|
||||
|
||||
cd ${wrksrc}/python3.4-build
|
||||
make DESTDIR=${DESTDIR} install
|
||||
}
|
||||
|
||||
python3.4-atspi_package() {
|
||||
noarch=yes
|
||||
depends="at-spi2-core>=2.10 python3.4-gobject>=3.10"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="pyatspi"
|
||||
short_desc="${short_desc//Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove /usr/lib/python3.4
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-atspi
Symbolic link
1
srcpkgs/python3.4-atspi
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-atspi
|
Loading…
Reference in New Issue
Block a user