mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
New package: python-atspi-2.12.0 with 3.4 subpkg, replaces pyatspi
Revbump caribou.
This commit is contained in:
parent
2292e155b9
commit
ed97beac91
3 changed files with 59 additions and 2 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'caribou'
|
# Template file for 'caribou'
|
||||||
pkgname=caribou
|
pkgname=caribou
|
||||||
version=0.4.13
|
version=0.4.13
|
||||||
revision=5
|
revision=6
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
|
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
|
||||||
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
|
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
|
||||||
makedepends="vala-devel>=0.24 libxklavier-devel libgee08-devel python-gobject-devel
|
makedepends="vala-devel>=0.24 libxklavier-devel libgee08-devel python-gobject-devel
|
||||||
clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
|
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"
|
desktop-file-utils"
|
||||||
pycompile_module="$pkgname"
|
pycompile_module="$pkgname"
|
||||||
short_desc="An alternative to the Gnome On-screen Keyboard"
|
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…
Add table
Reference in a new issue