new cvs snapshot
authorChristian Andreetta <satya@gentoo.org>
Sat, 4 Dec 2004 15:36:06 +0000 (15:36 +0000)
committerChristian Andreetta <satya@gentoo.org>
Sat, 4 Dec 2004 15:36:06 +0000 (15:36 +0000)
net-print/pykota/ChangeLog
net-print/pykota/Manifest
net-print/pykota/files/digest-pykota-20041204 [new file with mode: 0644]
net-print/pykota/pykota-20041204.ebuild [new file with mode: 0644]

index 1d90b2646aae1dfe6342e07e15689fe082b93808..62f97b876f41c6a24530af76aca089c09507808c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-print/pykota
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.1 2004/11/06 12:17:13 satya Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.2 2004/12/04 15:36:06 satya Exp $
+
+*pykota-20041204 (04 Dec 2004)
+
+  04 Dec 2004; Christian Andreetta <satya@gentoo.org> +pykota-20041204.ebuild:
+  new cvs snapshot
 
   06 Nov 2004; Christian Andreetta <satya@gentoo.org> :
   version bump. CVS version of pykota 1.20
index 3ab0b9d638aa172582fe680309fd03948812b2fc..08ba4ca8eb6dcf6328d140028c6706880b92a417 100644 (file)
@@ -1,4 +1,6 @@
+MD5 11236be6da9505b502678502d032f288 pykota-20041204.ebuild 1585
 MD5 c88a4c156a4c7e0bb70eb3a5b6ec589e pykota-20041105.ebuild 1584
-MD5 13d2612413acf2b0bc79af3d65b5d23a ChangeLog 304
+MD5 3a533e1ef7a3910532c811c20c15e71c ChangeLog 435
 MD5 68e6cbe8d4d860030959e33547d7f3e8 metadata.xml 472
 MD5 cc82405b14b4e093f5280b106868ca44 files/digest-pykota-20041105 69
+MD5 2c48259857d69ac4d5faaad349105e0e files/digest-pykota-20041204 69
diff --git a/net-print/pykota/files/digest-pykota-20041204 b/net-print/pykota/files/digest-pykota-20041204
new file mode 100644 (file)
index 0000000..47ff12b
--- /dev/null
@@ -0,0 +1 @@
+MD5 b01c1f10a3f9f0dcc5ec83dead934a46 pykota_20041204.tar.bz2 1872185
diff --git a/net-print/pykota/pykota-20041204.ebuild b/net-print/pykota/pykota-20041204.ebuild
new file mode 100644 (file)
index 0000000..f4c13c3
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-20041204.ebuild,v 1.1 2004/12/04 15:36:06 satya Exp $
+
+inherit python eutils distutils
+
+MY_P=${P/-/_}
+DESCRIPTION="PyKota - Python print Quota for CUPS, LPRng and BSD printer servers"
+SRC_URI="http://www.gentoo.org/~satya/packages/pykota/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.librelogiciel.com/software/PyKota/Presentation/action_Presentation"
+LICENSE="GPL-2"
+
+IUSE="ldap postgres snmp xml xml2"
+
+DEPEND="dev-lang/python
+       dev-python/egenix-mx-base
+       postgres? ( dev-db/postgresql dev-db/pygresql )
+       ldap?     ( net-nds/openldap dev-python/python-ldap )
+       snmp?     ( net-analyzer/net-snmp dev-python/pysnmp )
+       xml?      ( dev-python/jaxml )
+       xml2?     ( dev-python/jaxml ) "
+
+KEYWORDS="~x86"
+SLOT="0"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       cp setup.py setup.py.ORIG
+       sed -e "s|DEBIAN_BUILD_PACKAGE = 0|DEBIAN_BUILD_PACKAGE = 1|;\
+               s|ETC_DIR = \"./debian/tmp/etc/pykota/\"|ETC_DIR = \"${D}/etc/${PN}\"|" \
+               setup.py.ORIG > setup.py
+       rm -rf `find . -iname CVS -type d` 2>/dev/null
+}
+src_install() {
+       mkdir -p ${D}/etc/${PN}
+       python_version
+       distutils_src_install
+       #cups backend ----------------------------------------------
+       mkdir -p ${D}/usr/lib/cups/backend
+       dosym /usr/share/pykota/cupspykota /usr/lib/cups/backend/cupspykota
+       #extra docs: inits -----------------------------------------
+       init_dir=/usr/share/doc/${PF}/initscripts
+       insinto ${init_dir}
+       cp -a initscripts/* ${D}/${init_dir}
+}
+