summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-print/pykota/ChangeLog7
-rw-r--r--net-print/pykota/Manifest2
-rw-r--r--net-print/pykota/files/digest-pykota-200504041
-rw-r--r--net-print/pykota/pykota-20050404.ebuild51
4 files changed, 60 insertions, 1 deletions
diff --git a/net-print/pykota/ChangeLog b/net-print/pykota/ChangeLog
index 13cab15e024c..4b299e7d74de 100644
--- a/net-print/pykota/ChangeLog
+++ b/net-print/pykota/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/pykota
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.3 2005/01/26 17:50:12 satya Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.4 2005/04/04 12:30:34 satya Exp $
+
+*pykota-20050404 (04 Apr 2005)
+
+ 04 Apr 2005; Christian Andreetta <satya@gentoo.org> +pykota-20050404.ebuild:
+ cvs snapshot of version 1.22alpha3
*pykota-20050126 (26 Jan 2005)
diff --git a/net-print/pykota/Manifest b/net-print/pykota/Manifest
index 9e449a37bdbb..86bd4435ea51 100644
--- a/net-print/pykota/Manifest
+++ b/net-print/pykota/Manifest
@@ -1,3 +1,4 @@
+MD5 661b4f3a3e3382c81fc8d4e9235538ae pykota-20050404.ebuild 2199
MD5 16391f64fdbd4a8f751a0b3faafa1fcc pykota-20041204.ebuild 1585
MD5 b74c463c94d8fbcb45c9fa0ee03c7178 pykota-20041105.ebuild 1584
MD5 845082217d1e312d1af57fc6209cfe14 ChangeLog 585
@@ -6,3 +7,4 @@ MD5 d7f5ed36e391c28f0d2f793d9fef56f9 pykota-20050126.ebuild 1585
MD5 cc82405b14b4e093f5280b106868ca44 files/digest-pykota-20041105 69
MD5 2c48259857d69ac4d5faaad349105e0e files/digest-pykota-20041204 69
MD5 2dfdb53f8d1adf62c1ab8c44e6bf50fd files/digest-pykota-20050126 69
+MD5 76002518a563211e68973f0f0bc096ed files/digest-pykota-20050404 69
diff --git a/net-print/pykota/files/digest-pykota-20050404 b/net-print/pykota/files/digest-pykota-20050404
new file mode 100644
index 000000000000..2c403f66cb40
--- /dev/null
+++ b/net-print/pykota/files/digest-pykota-20050404
@@ -0,0 +1 @@
+MD5 64ea422fa7662578ba57ef93827f177c pykota_20050404.tar.bz2 1800644
diff --git a/net-print/pykota/pykota-20050404.ebuild b/net-print/pykota/pykota-20050404.ebuild
new file mode 100644
index 000000000000..2f261f16aed9
--- /dev/null
+++ b/net-print/pykota/pykota-20050404.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-20050404.ebuild,v 1.1 2005/04/04 12:30:34 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/${PN}/initscripts
+ insinto ${init_dir}
+ cp -a initscripts/* ${D}/${init_dir}
+}
+