summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-09-14 14:05:09 +1200
committerKent Fredric <kentnl@gentoo.org>2017-09-14 16:06:05 +1200
commit08439376a4532d67da8ad9f0be614fc80aba3ecd (patch)
tree4643e2bbda55d87255f5b8cef0d865d187c493b8 /dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild
parentdev-perl/XML-Descent: Add w/ version 1.40.0 (diff)
downloadgentoo-08439376a4532d67da8ad9f0be614fc80aba3ecd.tar.gz
gentoo-08439376a4532d67da8ad9f0be614fc80aba3ecd.tar.bz2
gentoo-08439376a4532d67da8ad9f0be614fc80aba3ecd.zip
dev-perl/XS-Object-Magic: Add w/ version 0.40.0
Previously maintained by Hasufell and myself in ::perl-experimental since Dec 2014 Required for x11-wm/i3 via X11-XCB Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild')
-rw-r--r--dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild b/dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild
new file mode 100644
index 000000000000..bbfecf19eb0a
--- /dev/null
+++ b/dev-perl/XS-Object-Magic/XS-Object-Magic-0.40.0-r3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=FLORA
+DIST_VERSION=0.04
+inherit perl-module
+
+DESCRIPTION="Opaque, extensible XS pointer backed objects using sv_magic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+ >=dev-perl/ExtUtils-Depends-0.302.0
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0
+ test? (
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Test-Fatal
+ virtual/perl-Test-Simple
+ )
+"
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install /use lib q[.];\nuse inc::Module::Install /' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}