summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-07-25 20:33:59 +1200
committerKent Fredric <kentnl@gentoo.org>2020-07-25 20:35:36 +1200
commit403c6fc6c06e94cccd45d7c4d0297a12c2108c68 (patch)
tree505104af6710b562eff4cf77d70e927bee7c0fbc /dev-perl/Date-Pcalc
parentdev-python/twine: Mark ALLARCHES (diff)
downloadgentoo-403c6fc6c06e94cccd45d7c4d0297a12c2108c68.tar.gz
gentoo-403c6fc6c06e94cccd45d7c4d0297a12c2108c68.tar.bz2
gentoo-403c6fc6c06e94cccd45d7c4d0297a12c2108c68.zip
dev-perl/Date-Pcalc: -r bump for EAPI7 & toolchain love
- EAPI7 - More correctly map LICENSE - Make patch paths bump-invariant - Ensure compile/configure doesn't fail weirdly when LD!=ccld - Ensure CFLAGS passed to make/compiler - Remove empty/unused variable assignments Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Date-Pcalc')
-rw-r--r--dev-perl/Date-Pcalc/Date-Pcalc-6.100.0-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0-r2.ebuild b/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0-r2.ebuild
new file mode 100644
index 000000000000..80dfc035191e
--- /dev/null
+++ b/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=STBEY
+DIST_VERSION=6.1
+inherit perl-module
+
+DESCRIPTION="Gregorian calendar date calculations"
+LICENSE="|| ( Artistic GPL-1+ ) LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-perl/Bit-Vector-7.1
+ >=dev-perl/Carp-Clan-5.3
+"
+BDEPEND="${DEPEND}"
+
+mydoc="ToDo"
+PATCHES=(
+ "${FILESDIR}"/6.100.0_identifier_before_numeric_constant.patch
+ "${FILESDIR}/${PN}-6.100.0-unescaped-left-brace-5.26.patch"
+ "${FILESDIR}/${PN}-6.100.0-datestamp-window-move.patch"
+)
+src_configure() {
+ unset LD
+ [[ -n "${CCLD}" ]] && export LD="${CCLD}"
+ perl-module_src_configure
+}
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+}