From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3858D138350 for ; Fri, 21 Feb 2020 17:19:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B2C2E0949; Fri, 21 Feb 2020 17:19:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96449E0949 for ; Fri, 21 Feb 2020 17:19:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C14734EF2E for ; Fri, 21 Feb 2020 17:19:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D97C116 for ; Fri, 21 Feb 2020 17:19:43 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1582305583.99af30bdb87c3935c1f1a007fd439cb697f5bf95.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/foo2zjs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/foo2zjs/Manifest net-print/foo2zjs/foo2zjs-20200221.ebuild net-print/foo2zjs/foo2zjs-99999999.ebuild X-VCS-Directories: net-print/foo2zjs/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 99af30bdb87c3935c1f1a007fd439cb697f5bf95 X-VCS-Branch: master Date: Fri, 21 Feb 2020 17:19:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cba68dac-afe1-4c3e-86f9-0695070364f6 X-Archives-Hash: 900f3f6fa9f9e479d880e2773136761d commit: 99af30bdb87c3935c1f1a007fd439cb697f5bf95 Author: Rick Farina gentoo org> AuthorDate: Fri Feb 21 17:19:33 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Fri Feb 21 17:19:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99af30bd net-print/foo2zjs: add stable candidate Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> net-print/foo2zjs/Manifest | 1 + ...zjs-99999999.ebuild => foo2zjs-20200221.ebuild} | 30 ++++++---------------- net-print/foo2zjs/foo2zjs-99999999.ebuild | 8 +++--- 3 files changed, 14 insertions(+), 25 deletions(-) diff --git a/net-print/foo2zjs/Manifest b/net-print/foo2zjs/Manifest new file mode 100644 index 00000000000..1a03fc0a744 --- /dev/null +++ b/net-print/foo2zjs/Manifest @@ -0,0 +1 @@ +DIST foo2zjs-20200221.tar.xz 6330264 BLAKE2B 71e290cbb76d4975d72627270406a8479437adc3e94d334827d5c219dc0269708ddc559f847f881076f40515396931a2b4a4f4604b121e6a7007a5b2fc5b3432 SHA512 8d992b48157189b800a2ba2f8e528f0c3d59a532e6172f2979c4b3f6fa9a3ac7167e0e28195019b70e260d2459ebd17aba118735d5a2c8e5c7603c750ea8dfaf diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-20200221.ebuild similarity index 74% copy from net-print/foo2zjs/foo2zjs-99999999.ebuild copy to net-print/foo2zjs/foo2zjs-20200221.ebuild index 53f4e1dcf6a..a3a8fb5c6d1 100644 --- a/net-print/foo2zjs/foo2zjs-99999999.ebuild +++ b/net-print/foo2zjs/foo2zjs-20200221.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs eutils @@ -10,7 +10,7 @@ HOMEPAGE="http://foo2zjs.rkkda.com/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64" IUSE="test" RESTRICT="bindist !test? ( test )" @@ -27,28 +27,12 @@ DEPEND="${RDEPEND} sys-devel/bc test? ( sys-process/time )" -S="${WORKDIR}/${PN}" +SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" -src_unpack() { - einfo "Fetching ${PN} tarball" - wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die - tar zxf "${WORKDIR}/${PN}.tar.gz" || die - - epatch "${FILESDIR}/${PN}-udev.patch"\ +src_prepare() { + eapply "${FILESDIR}/${PN}-udev.patch"\ "${FILESDIR}/${PN}-usbbackend.patch" - cd "${S}" || die - - einfo "Fetching additional files (firmware, etc)" - emake getweb - - # Display wget output, downloading takes some time. - sed -e '/^WGETOPTS/s/-q//g' -i getweb || die - - ./getweb all || die -} - -src_prepare() { # Prevent an access violation. sed -e "s~/etc~${D}/etc~g" -i Makefile || die sed -e "s~/etc~${D}/etc~g" -i hplj1000 || die @@ -61,6 +45,8 @@ src_prepare() { # during make install sed -e '/rm .*LIBUDEVDIR)\//d' -i Makefile || die sed -e '/rm .*lib\/udev\/rules.d\//d' -i hplj1000 || die + + default } src_compile() { diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-99999999.ebuild index 53f4e1dcf6a..630ce3d9e59 100644 --- a/net-print/foo2zjs/foo2zjs-99999999.ebuild +++ b/net-print/foo2zjs/foo2zjs-99999999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs eutils @@ -34,7 +34,7 @@ src_unpack() { wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die tar zxf "${WORKDIR}/${PN}.tar.gz" || die - epatch "${FILESDIR}/${PN}-udev.patch"\ + eapply "${FILESDIR}/${PN}-udev.patch"\ "${FILESDIR}/${PN}-usbbackend.patch" cd "${S}" || die @@ -61,6 +61,8 @@ src_prepare() { # during make install sed -e '/rm .*LIBUDEVDIR)\//d' -i Makefile || die sed -e '/rm .*lib\/udev\/rules.d\//d' -i hplj1000 || die + + default } src_compile() {