diff options
author | 2006-12-12 05:06:08 +0000 | |
---|---|---|
committer | 2006-12-12 05:06:08 +0000 | |
commit | 0792d001f05064d6210f23400cd6835a5822e341 (patch) | |
tree | 7e3011d74727ac2abb3b74f3cb1f057d4859804d | |
parent | Sync with portage, pulling in fix for bug #153995 (diff) | |
download | aross-0792d001f05064d6210f23400cd6835a5822e341.tar.gz aross-0792d001f05064d6210f23400cd6835a5822e341.tar.bz2 aross-0792d001f05064d6210f23400cd6835a5822e341.zip |
Import latest pykota ebuild from the main tree.
svn path=/; revision=38
-rw-r--r-- | net-print/pykota/Manifest | 8 | ||||
-rw-r--r-- | net-print/pykota/files/digest-pykota-1.24_p2174 | 3 | ||||
-rw-r--r-- | net-print/pykota/pykota-1.24_p2174.ebuild | 54 |
3 files changed, 65 insertions, 0 deletions
diff --git a/net-print/pykota/Manifest b/net-print/pykota/Manifest new file mode 100644 index 0000000..8f208d9 --- /dev/null +++ b/net-print/pykota/Manifest @@ -0,0 +1,8 @@ +DIST pykota-1.24_p2174.tar.bz2 1898668 RMD160 f1a10d4d770becff8ef607622dad50bdd163bb16 SHA1 69d0fc58963acb1d7cd19e6d2c9662c407d0dbc9 SHA256 5a3ce81f0669b550ee969523b52d1032c0b40f9c5c309889a0de857d1b619c95 +EBUILD pykota-1.24_p2174.ebuild 1671 RMD160 c7840671ae2ef205da301d0b547054002f074f46 SHA1 273ac584c0fa962519d8223bcc53c871264a7115 SHA256 99134706cea44b23fc459dd433667455daca81f0c44a7e6c91379bb7cbafaf7d +MD5 ef07e04562ceb6614cc45c8f85e468f5 pykota-1.24_p2174.ebuild 1671 +RMD160 c7840671ae2ef205da301d0b547054002f074f46 pykota-1.24_p2174.ebuild 1671 +SHA256 99134706cea44b23fc459dd433667455daca81f0c44a7e6c91379bb7cbafaf7d pykota-1.24_p2174.ebuild 1671 +MD5 501d59b2930355e060ad35ef39622907 files/digest-pykota-1.24_p2174 259 +RMD160 1f75a267b6b0924ca76bf96563b43d386c06ae5a files/digest-pykota-1.24_p2174 259 +SHA256 cbc7f265953849cf1bde85c2dec10ea8d866e2c530c17f12ebe8968ce2c6c5d2 files/digest-pykota-1.24_p2174 259 diff --git a/net-print/pykota/files/digest-pykota-1.24_p2174 b/net-print/pykota/files/digest-pykota-1.24_p2174 new file mode 100644 index 0000000..3011f70 --- /dev/null +++ b/net-print/pykota/files/digest-pykota-1.24_p2174 @@ -0,0 +1,3 @@ +MD5 2b5c53daa165bc20f774f1eab144c47c pykota-1.24_p2174.tar.bz2 1898668 +RMD160 f1a10d4d770becff8ef607622dad50bdd163bb16 pykota-1.24_p2174.tar.bz2 1898668 +SHA256 5a3ce81f0669b550ee969523b52d1032c0b40f9c5c309889a0de857d1b619c95 pykota-1.24_p2174.tar.bz2 1898668 diff --git a/net-print/pykota/pykota-1.24_p2174.ebuild b/net-print/pykota/pykota-1.24_p2174.ebuild new file mode 100644 index 0000000..95cdb06 --- /dev/null +++ b/net-print/pykota/pykota-1.24_p2174.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.24_p2174.ebuild,v 1.5 2006/12/11 11:11:48 aross Exp $ + +inherit python eutils distutils + +DESCRIPTION="Flexible print quota and accounting package for use with CUPS." +SRC_URI="http://www.gentoo.org/~satya/packages/pykota/${P}.tar.bz2" +HOMEPAGE="http://www.pykota.com" +LICENSE="GPL-2" + +IUSE="ldap mysql postgres snmp sqlite snmp xml" + +DEPEND="dev-lang/python + dev-python/egenix-mx-base + net-print/pkpgcounter + ldap? ( dev-python/python-ldap ) + mysql? ( dev-python/mysql-python ) + postgres? ( dev-db/postgresql dev-db/pygresql ) + sqlite? ( =dev-python/pysqlite-2* ) + snmp? ( net-analyzer/net-snmp =dev-python/pysnmp-3.4.2 ) + xml? ( dev-python/jaxml )" + +RDEPEND="${DEPEND}" + +KEYWORDS="~amd64 ~x86" +SLOT="0" + +DOCS="README MANIFEST.in TODO SECURITY NEWS CREDITS FAQ" + +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/${P}/initscripts + insinto ${init_dir} + cp -pPR initscripts/* "${D}"/${init_dir} + + # Fixes permissions for bug 155865 + chmod 700 "${D}"/usr/share/pykota/cupspykota + + for doc in ${DOCS}; do + rm -f "${D}"/usr/share/doc/${PN}/${doc} + done + + rm -f "${D}"/usr/share/doc/${PN}/{LICENSE,COPYING} + mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${P} + rmdir "${D}"/usr/share/doc/${PN} +} + |