diff options
author | Donnie Berkholz <donnie@supernova.(none)> | 2006-09-04 11:32:07 -0700 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-04 11:32:07 -0700 |
commit | d7fd02ebdcfe075530e3fe0f9a4d2316bedf274c (patch) | |
tree | 0b01374b4eb3d98564f9fbeb81ee128bd56db782 | |
parent | Add system-config-nfs (diff) | |
download | dberkholz-d7fd02ebdcfe075530e3fe0f9a4d2316bedf274c.tar.gz dberkholz-d7fd02ebdcfe075530e3fe0f9a4d2316bedf274c.tar.bz2 dberkholz-d7fd02ebdcfe075530e3fe0f9a4d2316bedf274c.zip |
Add pycups and pygobject for system-config-printer.
The pygobject ebuild was backported from the gnome overlay.
-rw-r--r-- | dev-python/pycups/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pycups/files/digest-pycups-1.9.12 | 3 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.12.ebuild | 23 | ||||
-rw-r--r-- | dev-python/pygobject/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pygobject/files/digest-pygobject-2.10.1 | 3 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.10.1.ebuild | 59 |
6 files changed, 104 insertions, 0 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest new file mode 100644 index 0000000..e45dfcc --- /dev/null +++ b/dev-python/pycups/Manifest @@ -0,0 +1,8 @@ +DIST pycups-1.9.12.tar.bz2 25476 RMD160 58cc35a04a54ba071e35c45d5e15cee582fd27da SHA1 d5e89ac508ad1880eb7f5361b1842b61ff156c56 SHA256 ce77eac38f69a0b1478e6198f2b2d0869cedd87ebc1084a93db78069ec0eedf5 +EBUILD pycups-1.9.12.ebuild 521 RMD160 722ad3d92a6b7914df91cff195ab4b8dfe0b4e60 SHA1 1bdc1d6f93f1b1dd0a08f492d4a17ec2e8415ef5 SHA256 b27ed9569d1169d271f9b51c08f88e95ede987900e8112e27ebc15909a8b6a6c +MD5 0fe2c0ea5ed9a40cdfbb319267cd179e pycups-1.9.12.ebuild 521 +RMD160 722ad3d92a6b7914df91cff195ab4b8dfe0b4e60 pycups-1.9.12.ebuild 521 +SHA256 b27ed9569d1169d271f9b51c08f88e95ede987900e8112e27ebc15909a8b6a6c pycups-1.9.12.ebuild 521 +MD5 2473aefe07431557c70b9e68cf4b3793 files/digest-pycups-1.9.12 241 +RMD160 5894a0dba828ecc4125ac567b6afc950cff3eb79 files/digest-pycups-1.9.12 241 +SHA256 3839a9641e7be7a999fb39dd8c2020789b8d878b9a3f12e4b8bd60b197d4243a files/digest-pycups-1.9.12 241 diff --git a/dev-python/pycups/files/digest-pycups-1.9.12 b/dev-python/pycups/files/digest-pycups-1.9.12 new file mode 100644 index 0000000..ea7bd2d --- /dev/null +++ b/dev-python/pycups/files/digest-pycups-1.9.12 @@ -0,0 +1,3 @@ +MD5 c853b55286216568f14dde8a5ae21a21 pycups-1.9.12.tar.bz2 25476 +RMD160 58cc35a04a54ba071e35c45d5e15cee582fd27da pycups-1.9.12.tar.bz2 25476 +SHA256 ce77eac38f69a0b1478e6198f2b2d0869cedd87ebc1084a93db78069ec0eedf5 pycups-1.9.12.tar.bz2 25476 diff --git a/dev-python/pycups/pycups-1.9.12.ebuild b/dev-python/pycups/pycups-1.9.12.ebuild new file mode 100644 index 0000000..2c57caf --- /dev/null +++ b/dev-python/pycups/pycups-1.9.12.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2006 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" +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/pygobject/Manifest b/dev-python/pygobject/Manifest new file mode 100644 index 0000000..52c72d6 --- /dev/null +++ b/dev-python/pygobject/Manifest @@ -0,0 +1,8 @@ +DIST pygobject-2.10.1.tar.bz2 273207 RMD160 3c2d4763a73d6e64862d2d0ac622173f5811b8ce SHA1 aa7e29e64b2a8114573503d93a90ae1508da361e SHA256 dff4a3e4a53c8190b2249e2fc7dd71258b2d6b2f65762aa59f5d56a52d53b86d +EBUILD pygobject-2.10.1.ebuild 1588 RMD160 49cf2cb9f404a34bbd251276d3edb4e34599dc38 SHA1 f8be8fda56d835c99587834b237aeae072ae369d SHA256 c87d54554bd84b036ad84b982053c934e7a8607c041227897993dcf06a3d0d7b +MD5 82efb375cf5ecd231d68a2b2d2a9391c pygobject-2.10.1.ebuild 1588 +RMD160 49cf2cb9f404a34bbd251276d3edb4e34599dc38 pygobject-2.10.1.ebuild 1588 +SHA256 c87d54554bd84b036ad84b982053c934e7a8607c041227897993dcf06a3d0d7b pygobject-2.10.1.ebuild 1588 +MD5 3c39ad0ea3502df1ec10cf2808aaad3d files/digest-pygobject-2.10.1 253 +RMD160 a6bd785b15189e2d59a6603dc140626da8eda975 files/digest-pygobject-2.10.1 253 +SHA256 e8a7a3df69241052c697376ad951fa9f98416a2da539950c171bb31093049bb8 files/digest-pygobject-2.10.1 253 diff --git a/dev-python/pygobject/files/digest-pygobject-2.10.1 b/dev-python/pygobject/files/digest-pygobject-2.10.1 new file mode 100644 index 0000000..c3e3047 --- /dev/null +++ b/dev-python/pygobject/files/digest-pygobject-2.10.1 @@ -0,0 +1,3 @@ +MD5 3a69a75b4dfdb52642f26a4d45fcfde8 pygobject-2.10.1.tar.bz2 273207 +RMD160 3c2d4763a73d6e64862d2d0ac622173f5811b8ce pygobject-2.10.1.tar.bz2 273207 +SHA256 dff4a3e4a53c8190b2249e2fc7dd71258b2d6b2f65762aa59f5d56a52d53b86d pygobject-2.10.1.tar.bz2 273207 diff --git a/dev-python/pygobject/pygobject-2.10.1.ebuild b/dev-python/pygobject/pygobject-2.10.1.ebuild new file mode 100644 index 0000000..2f50675 --- /dev/null +++ b/dev-python/pygobject/pygobject-2.10.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python/gnome-python-2.12.4.ebuild,v 1.1 2006/05/03 18:22:39 dang Exp $ + +inherit gnome2 python eutils + +DESCRIPTION="GNOME 2 bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-lang/python-2.3.5 + >=dev-libs/glib-2.8" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.12.0" + +DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README" + +pkg_setup() { + G2CONF="$(use_enable doc docs)" +} + +src_unpack() { + gnome2_src_unpack + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s /bin/true py-compile +} + +src_install() { + gnome2_src_install + + insinto /usr/share/doc/${P} + doins -r examples + + python_version + mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ + ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 + mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ + ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0 + alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] + alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] + python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |