summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2009-08-03 09:18:45 +0000
committerAndreas Proschofsky <suka@gentoo.org>2009-08-03 09:18:45 +0000
commiteacee09dc3afa21e6d57c4bcbd8e131d1e8340d7 (patch)
tree6221749f07e18aacf3a7d896b1a145985d41cad0
parentFix repo name, fix gwibber live ebuild for bzr.eclass changes (diff)
downloadsuka-eacee09dc3afa21e6d57c4bcbd8e131d1e8340d7.tar.gz
suka-eacee09dc3afa21e6d57c4bcbd8e131d1e8340d7.tar.bz2
suka-eacee09dc3afa21e6d57c4bcbd8e131d1e8340d7.zip
Bump system-config-printer and pycups to newer releases
svn path=/; revision=129
-rw-r--r--app-admin/system-config-printer/Manifest4
-rw-r--r--app-admin/system-config-printer/system-config-printer-1.1.10.ebuild63
-rw-r--r--app-admin/system-config-printer/system-config-printer-1.1.2.ebuild35
-rw-r--r--dev-python/pycups/Manifest4
-rw-r--r--dev-python/pycups/pycups-1.9.45.ebuild23
-rw-r--r--dev-python/pycups/pycups-1.9.46.ebuild45
6 files changed, 112 insertions, 62 deletions
diff --git a/app-admin/system-config-printer/Manifest b/app-admin/system-config-printer/Manifest
index 883b6ca..75b4add 100644
--- a/app-admin/system-config-printer/Manifest
+++ b/app-admin/system-config-printer/Manifest
@@ -1,2 +1,2 @@
-DIST system-config-printer-1.1.2.tar.bz2 863408 RMD160 bcd074f176cc10075ba07643dbd122404cbeff74 SHA1 58ba76bf6eb0be3deed6cb50a686386ee9d7bdfd SHA256 899871cf9244df289dac8c15befbb0a86dfa77fe20ef06349d2eb0de446b215a
-EBUILD system-config-printer-1.1.2.ebuild 817 RMD160 55380228dff1dbb4481d612ce38bf8209fdd360e SHA1 77be85eb66fa7539fa4eb61a7e5c72cf38be3b88 SHA256 97e8fc46f9891700e372223ff1907dec8ca43cee412afe2b1bf4ea1693e68af8
+DIST system-config-printer-1.1.10.tar.bz2 1029009 RMD160 40678a8aff404429e1b2ff661d49fdaae2fe1096 SHA1 91a02c8c6f859e18544bb5fbb379af3c083f609f SHA256 5d1205d0989d13f3fac477e3cf2b05313d9cce8cd1b1837bfa3a1c53999e612e
+EBUILD system-config-printer-1.1.10.ebuild 1481 RMD160 9b76b962338e3abb6e8d0879f5683b53f5a7983e SHA1 a467cc51192febda93f85f07e9fcada2839092c4 SHA256 4dd87d22da7a7f4e0b474bd5f3fd7ba660f35cb05620344a3c1722ef575d31da
diff --git a/app-admin/system-config-printer/system-config-printer-1.1.10.ebuild b/app-admin/system-config-printer/system-config-printer-1.1.10.ebuild
new file mode 100644
index 0000000..0a50291
--- /dev/null
+++ b/app-admin/system-config-printer/system-config-printer-1.1.10.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit python autotools
+
+DESCRIPTION="A printer administration tool"
+HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
+SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.1/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gnome-keyring"
+
+COMMON_DEPEND="
+ dev-lang/python
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/xmlto
+ dev-util/intltool
+ virtual/libintl
+"
+RDEPEND="${COMMON_DEPEND}
+ dev-libs/libxml2[python]
+ dev-python/notify-python
+ dev-python/dbus-python
+ dev-python/pycups
+ dev-python/pygobject
+ >=dev-python/pygtk-2.13
+ dev-python/pyxml
+ net-print/cups[dbus]
+ gnome-keyring? ( dev-python/gnome-keyring-python )
+"
+
+APP_LINGUAS="ar as bg bn bn_IN bs ca cs cy da de el en_GB es et fa fi fr gu he hi
+hr hu hy id is it ja ka kn ko lo lv mk ml mr ms nb nl nn or pa pl pt pt_BR ro ru
+si sk sl sr sv ta te th tr uk vi zh_CN"
+for X in ${APP_LINGUAS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+src_configure() {
+
+ local myconf
+
+ # disable installation of translations when LINGUAS not chosen
+ if [[ -z "${LINGUAS}" ]]; then
+ myconf="${myconf} --disable-nls"
+ else
+ myconf="${myconf} --enable-nls"
+ fi
+
+ econf ${myconf} || die "econf failed"
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README || die "dodoc failed"
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/app-admin/system-config-printer/system-config-printer-1.1.2.ebuild b/app-admin/system-config-printer/system-config-printer-1.1.2.ebuild
deleted file mode 100644
index 8f1d2de..0000000
--- a/app-admin/system-config-printer/system-config-printer-1.1.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils python
-
-DESCRIPTION="A printer administration tool"
-HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
-SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.1/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86 ~amd64"
-IUSE=""
-RDEPEND="net-print/cups
- dev-lang/python
- >=dev-python/pygtk-2.4
- dev-python/pycups
- dev-python/pyxml
- dev-python/notify-python
- app-text/xmlto
- dev-python/dbus-python
- dev-python/gnome-keyring-python
- dev-python/libgnome-python"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- dev-util/intltool"
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/share/${PN}
-}
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest
index 2a07aac..5778df7 100644
--- a/dev-python/pycups/Manifest
+++ b/dev-python/pycups/Manifest
@@ -1,2 +1,2 @@
-DIST pycups-1.9.45.tar.bz2 39968 RMD160 d03b38080ef7b385689c197b23087491477e4fd7 SHA1 976e84f1a32cbc0fc3fc5c3557fad334048e0573 SHA256 ef6e576e5465da9c338ac8ff9f162825cfb7997359efc52e6a110c295a9f363b
-EBUILD pycups-1.9.45.ebuild 528 RMD160 7eac2980e644ae54a9c888c54696ddc5f4717299 SHA1 db1ae4809a76fa28939300449246d98a4fa0ac2d SHA256 f23e77e3cf5a52ba63d139632c2663f1b1386429c79f3e7e191be89d532d0bb8
+DIST pycups-1.9.46.tar.bz2 41626 RMD160 591d96786d31f3b452aa7484dd933715904bc32b SHA1 3d58a0f7b4a1b6a2880baf9ef5e14eae461d0982 SHA256 74abd1d6b1a5b8a22d2ccf3730000848fcef0b63c6105b178f73ff76e72bc8fe
+EBUILD pycups-1.9.46.ebuild 958 RMD160 6a08a7b701245c01aa1715452ff7d11f3cb4aee1 SHA1 7e40be55cbfa4dbda10c60a1d65042993284e35a SHA256 08e7f4fd5feff7c3f24b68bd37877725b94d8ab526ec2a1f324da97541516535
diff --git a/dev-python/pycups/pycups-1.9.45.ebuild b/dev-python/pycups/pycups-1.9.45.ebuild
deleted file mode 100644
index 29ffd26..0000000
--- a/dev-python/pycups/pycups-1.9.45.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit python
-
-DESCRIPTION="Python bindings for the CUPS API"
-HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
-SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-DEPEND=""
-
-src_compile() {
- python_version
- emake PYTHONVERS="python${PYVER}" || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-}
diff --git a/dev-python/pycups/pycups-1.9.46.ebuild b/dev-python/pycups/pycups-1.9.46.ebuild
new file mode 100644
index 0000000..522df68
--- /dev/null
+++ b/dev-python/pycups/pycups-1.9.46.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.45-r1.ebuild,v 1.2 2009/06/12 14:07:43 scarabeus Exp $
+
+NEED_PYTHON="2.4"
+inherit distutils flag-o-matic
+
+DESCRIPTION="Python bindings for the CUPS API"
+HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
+SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="
+ net-print/cups
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/epydoc )
+"
+
+src_compile() {
+ append-cflags -DVERSION=\\\"${PV}\\\"
+ distutils_src_compile
+
+ if use doc; then
+ emake doc || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r html/ || die "installing html docs failed"
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/"${P}"
+ doins -r examples/ || die "installing examples failed"
+ fi
+
+}