summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print')
-rw-r--r--net-print/pykota/Manifest1
-rw-r--r--net-print/pykota/metadata.xml16
-rw-r--r--net-print/pykota/pykota-1.26-r1.ebuild64
3 files changed, 0 insertions, 81 deletions
diff --git a/net-print/pykota/Manifest b/net-print/pykota/Manifest
deleted file mode 100644
index 640864f9a5bc..000000000000
--- a/net-print/pykota/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pykota-1.26.tar.xz 1377656 BLAKE2B f39998a072ddf273a63a1b412f5d03d6a5d2095faf7facce8b7552ab456a57916cdeefda737e3d7323ff44e28c782aeefe2f6706a58dd3a781d2ff4c704c820e SHA512 b6b0b274a52b031837ff3ad267dcfd84e0292bf0210b46f09ed84d19c83e586297b4e0667f3338aa50cf9db13e750723c5d12868f5bfeb2079c343208cd72c1c
diff --git a/net-print/pykota/metadata.xml b/net-print/pykota/metadata.xml
deleted file mode 100644
index a6df06de99c5..000000000000
--- a/net-print/pykota/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <longdescription lang="en">
- PyKota is a complete GPLed Print Quota and Accounting Software Solution
- for the Common UNIX Printing System (CUPS).
- </longdescription>
-</pkgmetadata>
diff --git a/net-print/pykota/pykota-1.26-r1.ebuild b/net-print/pykota/pykota-1.26-r1.ebuild
deleted file mode 100644
index ccab1c34b787..000000000000
--- a/net-print/pykota/pykota-1.26-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='sqlite?'
-
-inherit distutils-r1
-
-DESCRIPTION="Flexible print quota and accounting package for use with CUPS and lpd"
-HOMEPAGE="http://www.pykota.com"
-SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap mysql postgres snmp sqlite xml"
-
-RDEPEND="
- dev-python/egenix-mx-base[${PYTHON_USEDEP}]
- net-print/pkpgcounter[${PYTHON_USEDEP}]
- dev-python/chardet[${PYTHON_USEDEP}]
- dev-python/pkipplib[${PYTHON_USEDEP}]
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
- postgres? ( dev-db/postgresql[server] dev-python/pygresql[${PYTHON_USEDEP}] )
- snmp? ( net-analyzer/net-snmp dev-python/pysnmp[${PYTHON_USEDEP}] )
- xml? ( dev-python/jaxml[${PYTHON_USEDEP}] )"
-# CUPS required because of cups-config call, #563402
-DEPEND="${RDEPEND}
- net-print/cups"
-
-python_prepare_all() {
- sed -i -e 's:from pysqlite2 import dbapi2:import sqlite3:' \
- pykota/storages/sqlitestorage.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- local DOCS=()
-
- distutils-r1_python_install_all
-
- dodir /etc/${PN}
- # cups backend ----------------------------------------------
-
- dodir "$(cups-config --serverbin)/backend"
- dosym "${EPREFIX}"/usr/share/pykota/cupspykota \
- "$(cups-config --serverbin)/backend/cupspykota"
-
- # extra docs: inits -----------------------------------------
-
- init_dir="/usr/share/doc/${PF}/initscripts"
- insinto "${init_dir}"
- doins -r initscripts/*
-
- # Fixes permissions for bug 155865
- fperms 0700 /usr/share/pykota/cupspykota
-
- rm "${ED%/}"/usr/share/doc/${PN}/{LICENSE,COPYING} || die
- mv "${ED%/}"/usr/share/doc/{${PN},${PF}} || die
-}