summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Andreetta <satya@gentoo.org>2004-11-06 12:17:13 +0000
committerChristian Andreetta <satya@gentoo.org>2004-11-06 12:17:13 +0000
commit5214619c3e0e71908ab1b9a106de8f64edfef853 (patch)
tree960d419e5f4210af6ca40709bbaa2b3b6de87b33 /net-print/pykota
parentFixed bug #70141. Thanks to Matt Taylor <liverbugg@juno.com>. (diff)
downloadhistorical-5214619c3e0e71908ab1b9a106de8f64edfef853.tar.gz
historical-5214619c3e0e71908ab1b9a106de8f64edfef853.tar.bz2
historical-5214619c3e0e71908ab1b9a106de8f64edfef853.zip
version bump. cvs snapshot of pykota 1.20
Diffstat (limited to 'net-print/pykota')
-rw-r--r--net-print/pykota/ChangeLog7
-rw-r--r--net-print/pykota/Manifest4
-rw-r--r--net-print/pykota/files/digest-pykota-200411051
-rw-r--r--net-print/pykota/metadata.xml12
-rw-r--r--net-print/pykota/pykota-20041105.ebuild49
5 files changed, 73 insertions, 0 deletions
diff --git a/net-print/pykota/ChangeLog b/net-print/pykota/ChangeLog
new file mode 100644
index 000000000000..1d90b2646aae
--- /dev/null
+++ b/net-print/pykota/ChangeLog
@@ -0,0 +1,7 @@
+# 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 $
+
+ 06 Nov 2004; Christian Andreetta <satya@gentoo.org> :
+ version bump. CVS version of pykota 1.20
+
diff --git a/net-print/pykota/Manifest b/net-print/pykota/Manifest
new file mode 100644
index 000000000000..3ab0b9d638aa
--- /dev/null
+++ b/net-print/pykota/Manifest
@@ -0,0 +1,4 @@
+MD5 c88a4c156a4c7e0bb70eb3a5b6ec589e pykota-20041105.ebuild 1584
+MD5 13d2612413acf2b0bc79af3d65b5d23a ChangeLog 304
+MD5 68e6cbe8d4d860030959e33547d7f3e8 metadata.xml 472
+MD5 cc82405b14b4e093f5280b106868ca44 files/digest-pykota-20041105 69
diff --git a/net-print/pykota/files/digest-pykota-20041105 b/net-print/pykota/files/digest-pykota-20041105
new file mode 100644
index 000000000000..36ccfb3eb41a
--- /dev/null
+++ b/net-print/pykota/files/digest-pykota-20041105
@@ -0,0 +1 @@
+MD5 a48db4b909e049f90635577cad4306f8 pykota_20041105.tar.bz2 1500230
diff --git a/net-print/pykota/metadata.xml b/net-print/pykota/metadata.xml
new file mode 100644
index 000000000000..8f3f2510c948
--- /dev/null
+++ b/net-print/pykota/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>printing</herd>
+<maintainer>
+ <email>satya@gentoo.org</email>
+ <name>Christian Andreetta</name>
+</maintainer>
+<longdescription>
+PyKota is a complete GPLed Print Quota and Accounting Software Solution for the Common UNIX Printing System (aka CUPS), LPR Next Generation (aka LPRng) and lpd BSD printer servers
+</longdescription>
+</pkgmetadata>
diff --git a/net-print/pykota/pykota-20041105.ebuild b/net-print/pykota/pykota-20041105.ebuild
new file mode 100644
index 000000000000..3a502477f4bf
--- /dev/null
+++ b/net-print/pykota/pykota-20041105.ebuild
@@ -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-20041105.ebuild,v 1.1 2004/11/06 12:17:13 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
+ find . -iname CVS -type d -exec rm -fr {} ';'
+}
+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}
+}
+