summaryrefslogtreecommitdiff
path: root/dev-perl/Convert-UUlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Convert-UUlib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Convert-UUlib')
-rw-r--r--dev-perl/Convert-UUlib/Convert-UUlib-1.400.0-r1.ebuild17
-rw-r--r--dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild34
-rw-r--r--dev-perl/Convert-UUlib/Manifest6
-rw-r--r--dev-perl/Convert-UUlib/files/Convert-UUlib-1.500.0-unbundle.patch37
-rw-r--r--dev-perl/Convert-UUlib/metadata.xml15
5 files changed, 109 insertions, 0 deletions
diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.400.0-r1.ebuild b/dev-perl/Convert-UUlib/Convert-UUlib-1.400.0-r1.ebuild
new file mode 100644
index 000000000000..7b3531abeee2
--- /dev/null
+++ b/dev-perl/Convert-UUlib/Convert-UUlib-1.400.0-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=MLEHMANN
+MODULE_VERSION=1.4
+inherit perl-module
+
+DESCRIPTION="A Perl interface to the uulib library"
+
+LICENSE="Artistic GPL-2" # needs both
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+SRC_TEST="do"
diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild b/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild
new file mode 100644
index 000000000000..666241a61763
--- /dev/null
+++ b/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=MLEHMANN
+MODULE_VERSION=1.5
+inherit perl-module
+
+DESCRIPTION="A Perl interface to the uulib library"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="system-uulib test"
+
+RDEPEND="
+ system-uulib? ( >=dev-libs/uulib-0.5.20-r1 )
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.520.0
+ dev-perl/Canary-Stability
+"
+
+SRC_TEST="do parallel"
+
+src_prepare() {
+ if use system-uulib; then
+ epatch "${FILESDIR}/${P}-unbundle.patch"
+ ewarn "Building with USE=system-uulib known to be problematic and cause"
+ ewarn " Convert::UUlib to segfault when used. ( Bug #559930 )"
+ use test || ewarn "use of FEATURES=test strongly recommended";
+ fi
+ perl-module_src_prepare
+}
diff --git a/dev-perl/Convert-UUlib/Manifest b/dev-perl/Convert-UUlib/Manifest
new file mode 100644
index 000000000000..63ad56c53ed7
--- /dev/null
+++ b/dev-perl/Convert-UUlib/Manifest
@@ -0,0 +1,6 @@
+AUX Convert-UUlib-1.500.0-unbundle.patch 1013 BLAKE2B 135b031a86c9951813a6a62cb2aea22b5e509a0ff8efc772150ba0141eed3a895d1c6cc9193a7bd447352c519710b5e592f3bc60aa6069f654dc6aa0ad099f7b SHA512 1a16a3e6286bf0632b71e970eec1449bd31001975d4a9cabfe5e026eaf082790898c45c056b5aacc87cd2943f97e6e216d24db107c475a84ad2e75fbde8a1107
+DIST Convert-UUlib-1.4.tar.gz 232006 BLAKE2B 61a5813b15302613b3b7cc40cc2feedc122a67cfbeb98ef9e8db71ce4d5d8a0aaf01827f5c21f13aa1ed98093ea2005a73a9e3ee1d3bc1c9b35eb6875ba0fbe3 SHA512 97dae96b173cfdaf35126f70a883b3462977c3bfb281334f2e54c66ba518ce936ae3046d911ed0a39974df47d0b46bc286afb01faa0d934895402049b3f79cfd
+DIST Convert-UUlib-1.5.tar.gz 236213 BLAKE2B dc7eebdac2715edfdec2fcd52e09cb2fcb3ce596a78364af47b56f4e29ca00061f532b3d4328e7f7ec147e5e5caef1a489247a052784dc0c7c5b271160777a2d SHA512 92c8b6f3a72546dca21018ddf2863113904f550e3ed950a1898ed4abfcc48738e9ca374f5adbc3226df2db6beeb0e12879ae52cdd067a030c199766d53603ec1
+EBUILD Convert-UUlib-1.400.0-r1.ebuild 372 BLAKE2B 5dbc0c44960234ffa9e27cbdfae9467f408d854babe890ce2cbd174370abe17201eb1068e39d59a5af2b51034cb474aa441c514a3a57dc280a7aa38cc657dc09 SHA512 58eed8730bf10e15a657f3bcaf9f8f2807fd3e0565e491e4104e48064d0816a1297e4ea9e32186c349a5cef9e461a81f74c2dcd58f60f3880cdb821d51e39c4b
+EBUILD Convert-UUlib-1.500.0-r1.ebuild 829 BLAKE2B 58a7f665126302d483b2cdcf156ad9d77ecf3eb42625316babcfffb0f216ce4a2ef19e96f8a88fd3f95f917f805519fc314b422ae32b6f7fc676c782d40bb637 SHA512 84fa14b4e5efba64c80dcce0e6b1dcf6e94a0a911486231338cc4a2135a12f5a2f79ae068a2f707edffd8f8865ed8ce86a58ae6c9e06d2165a77d236d99d5462
+MISC metadata.xml 510 BLAKE2B 696824ae2a36db94c00b8915dbb178318346b43369122597cfb8c03c0e0c74be7196f449fc6e321624e2e2a1b9c31d8e100ff40e73da0f9b6112c5ae0b9dcdb5 SHA512 c25cd13c17ff7ab01073adea9a969723fbcc22204bb802441e8efbe3261c8f421f2220a202dec9745f388d9bad401c067fae704db62a2ac0eed9d8f9181b66fb
diff --git a/dev-perl/Convert-UUlib/files/Convert-UUlib-1.500.0-unbundle.patch b/dev-perl/Convert-UUlib/files/Convert-UUlib-1.500.0-unbundle.patch
new file mode 100644
index 000000000000..70ebebb4be3b
--- /dev/null
+++ b/dev-perl/Convert-UUlib/files/Convert-UUlib-1.500.0-unbundle.patch
@@ -0,0 +1,37 @@
+diff -ruN Convert-UUlib-1.5.orig/Makefile.PL Convert-UUlib-1.5/Makefile.PL
+--- Convert-UUlib-1.5.orig/Makefile.PL 2015-07-11 03:56:33.000000000 +0200
++++ Convert-UUlib-1.5/Makefile.PL 2015-09-07 00:13:44.355717466 +0200
+@@ -2,23 +2,6 @@
+
+ use Canary::Stability Convert::UUlib => 1;
+
+-sub MY::postamble {
+- my $postamble =<<'END';
+-
+-uulib/Makefile:
+- cd uulib && ./configure --with-cc='$(CC)' --with-cflags='$(OPTIMIZE) $(CFLAGS) $(CCCDLFLAGS)'
+-
+-clean::
+- -cd uulib && make distclean
+-
+-force:
+-
+-$(MYEXTLIB): uulib/Makefile uulib/uulib.c force
+- cd uulib && $(MAKE) all
+-
+-END
+-}
+-
+ WriteMakefile(
+ 'dist' => {
+ PREOP => 'pod2text UUlib.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ; chmod -R u=rwX,go=rX . ;',
+@@ -27,8 +10,7 @@
+ },
+ 'NAME' => 'Convert::UUlib',
+ 'VERSION_FROM' => 'UUlib.pm',
+- 'MYEXTLIB' => 'uulib/libuu$(LIB_EXT)',
+- 'LIBS' => [''],
++ 'LIBS' => ['-luu'],
+ 'DEFINE' => '',
+ 'INC' => '',
+ CONFIGURE_REQUIRES => {
diff --git a/dev-perl/Convert-UUlib/metadata.xml b/dev-perl/Convert-UUlib/metadata.xml
new file mode 100644
index 000000000000..3999a21a82d0
--- /dev/null
+++ b/dev-perl/Convert-UUlib/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Convert-UUlib</remote-id>
+ <remote-id type="cpan-module">Convert::UUlib</remote-id>
+ </upstream>
+ <use>
+ <flag name="system-uulib">Use <pkg>dev-libs/uulib</pkg> instead of bundled version.</flag>
+ </use>
+</pkgmetadata>