dev-perl/go-perl: Fixes pointed by Kent Fredric and more from Debian
authorPacho Ramos <pacho@gentoo.org>
Sun, 20 Oct 2019 12:00:10 +0000 (14:00 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 20 Oct 2019 12:00:46 +0000 (14:00 +0200)
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
dev-perl/go-perl/Manifest
dev-perl/go-perl/go-perl-0.150.0.ebuild [new file with mode: 0644]

index d7d8f5a29b017a1e0a4288257dbb7433ac5c6759..17db84e2182040325586285c40c4b6c7e82b041f 100644 (file)
@@ -1 +1,2 @@
 DIST go-perl-0.15.tar.gz 808993 BLAKE2B b35573cdd13daf43bb05cf1b4c70f165b1c301ca195d3d0507eae73b3820e72e56610883ae4eb2b7cc6c71f8bbee1bdfb9aea4e999714a14e66a8bcaac6365d3 SHA512 7053305acd1cc352f2ce13549984870bf3cd54e3a6cf3cabc28697854c37163084d775e9ef848eaf6c9601cb2daca5affbf84482f7fb4ae9d3410258f2bbaee5
+DIST libgo-perl_0.15-7.debian.tar.xz 8112 BLAKE2B 407d31bbad0c05f5f3cf182cd9c0e70cb1a78436e6dbb1106671a92be411b42a15d2ec57f656e1631bc96723da81dcc48021e1e320d2dce72b39b8454c8dbee1 SHA512 516146454de6d12f440081fb6244116ebd9194acddb59a54a946fdc858af7254c3f699dde195d8f070952dd0403889e1467d25deb625f22e8f9de0233f904785
diff --git a/dev-perl/go-perl/go-perl-0.150.0.ebuild b/dev-perl/go-perl/go-perl-0.150.0.ebuild
new file mode 100644 (file)
index 0000000..2479334
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+DIST_VERSION=0.15
+DIST_AUTHOR="CMUNGALL"
+DEB_PATCH_VER="7"
+
+inherit perl-module
+
+DESCRIPTION="GO::Parser parses all GO files formats and types"
+SRC_URI="${SRC_URI}
+       mirror://debian/pool/main/libg/libgo-perl/lib${PN}_${DIST_VERSION}-${DEB_PATCH_VER}.debian.tar.xz
+"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-perl/Data-Stag-0.11"
+BDEPEND="${RDEPEND}"
+DEPEND=""
+
+src_prepare() {
+       for patch in $(< "${WORKDIR}"/debian/patches/series); do
+               eapply "${WORKDIR}"/debian/patches/${patch}
+       done
+
+       perl-module_src_prepare
+}