summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-24 19:18:36 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-24 19:18:36 +0200
commit04293109f3b154e87614071f6f3860325c837f63 (patch)
treeb3e5da0fcdc74d09ef3ae75b442e24aa6941be5a /net-print
parentdev-libs/libassuan: Adjusted dependency (diff)
downloadgentoo-04293109f3b154e87614071f6f3860325c837f63.tar.gz
gentoo-04293109f3b154e87614071f6f3860325c837f63.tar.bz2
gentoo-04293109f3b154e87614071f6f3860325c837f63.zip
net-print/pnm2ppa: Port to EAPI 7
Closes: https://bugs.gentoo.org/742167 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r--net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild23
1 files changed, 12 insertions, 11 deletions
diff --git a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
index 55c86714e946..bab71f44628c 100644
--- a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
+++ b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
@@ -1,17 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-
-inherit base
+EAPI=7
DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series"
HOMEPAGE="http://pnm2ppa.sourceforge.net"
SRC_URI="mirror://sourceforge/pnm2ppa/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="syslog"
# en on first place so others can override it
@@ -25,8 +23,7 @@ RDEPEND="
net-print/cups
>=net-print/cups-filters-1.0.43-r1[foomatic]
sys-libs/glibc
- syslog? ( virtual/logger )
-"
+ syslog? ( virtual/logger )"
DEPEND="${RDEPEND}"
src_configure() {
@@ -65,13 +62,17 @@ src_install() {
exeinto /etc/pdq/drivers/ghostscript
doexe pdq/gs-pnm2ppa
+
exeinto /etc/pdq/interfaces
doexe pdq/dummy
# install docs
- cd docs/en
+ cd docs/en || die
dodoc CALIBRATION*txt COLOR*txt PPA*txt RELEASE* CREDITS README sgml/*.sgml
- cd "${S}"
- dohtml -r .
+ cd "${S}" || die
+ docinto html/docs/en
+ dodoc docs/en/*.html
+ docinto html/ppa_protocol
+ dodoc ppa_protocol/*.html
}