summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-27 15:08:12 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-27 15:09:23 +0100
commit347c2628a5a5853ebc8a39a66794abe685d640bf (patch)
tree601ff5d9e7931712ceeb1dc045a5689e7990ddf5 /dev-perl/Quota
parentdev-perl/Quota: Remove old (diff)
downloadgentoo-347c2628a5a5853ebc8a39a66794abe685d640bf.tar.gz
gentoo-347c2628a5a5853ebc8a39a66794abe685d640bf.tar.bz2
gentoo-347c2628a5a5853ebc8a39a66794abe685d640bf.zip
dev-perl/Quota: Version bump 1.8.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/Quota')
-rw-r--r--dev-perl/Quota/Manifest1
-rw-r--r--dev-perl/Quota/Quota-1.8.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/Quota/Manifest b/dev-perl/Quota/Manifest
index 8b409ac2f46f..fd64a1af661d 100644
--- a/dev-perl/Quota/Manifest
+++ b/dev-perl/Quota/Manifest
@@ -1 +1,2 @@
DIST Quota-1.8.1.tar.gz 57058 BLAKE2B 9f34d11896e6a8660f8777b5d6d6405d53619936aef2a17af58cf3e024f936b278fe14e055a685508c6cef9d07b56eab0712f6745e53c9fdb99d6bd97e864435 SHA512 9e27cb03c7cd76a995ff775b9a5a67b8d8deeb814efacb17b4769c567935ebabe03ba2354a6977ae86fffaeb65e8f457906adee60de3e0a86ba78516057c1d72
+DIST Quota-1.8.2.tar.gz 57158 BLAKE2B 6cdad5c6322ab88f9d857395cdcb96be7c348ed3a51358e85040ef65ff194f65510b0b447b92b1495a05f620ed824c4f136584715b72a00e69e2e5c0894a432f SHA512 5cbadbdc7b62e75d5b58ef65e58b39597e70a94d6105dea9f441d2629f3751977fd4e77ecdffa0ecc4192b1d225dffabf328d4b237e4bdb896ee68e81efba668
diff --git a/dev-perl/Quota/Quota-1.8.2.ebuild b/dev-perl/Quota/Quota-1.8.2.ebuild
new file mode 100644
index 000000000000..7b2014f2a3ea
--- /dev/null
+++ b/dev-perl/Quota/Quota-1.8.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=TOMZO
+inherit perl-module toolchain-funcs flag-o-matic
+
+DESCRIPTION="Perl interface to file system quotas"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ sys-fs/quota[rpc]
+ net-libs/libtirpc
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ virtual/pkgconfig
+"
+
+# Tests need real FS access/root permissions and are interactive
+DIST_TEST=skip
+
+src_prepare() {
+ default
+ DIST_MAKE=(
+ "INC=$($(tc-getPKG_CONFIG) --cflags libtirpc)"
+ "OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs libtirpc)"
+ )
+
+ # disable AFS completely for now, need somebody who can really test it
+ sed -i -e 's|-d "/afs"|0|' Makefile.PL || die "sed failed"
+}
+
+src_test() {
+ ebegin "Compile testing Quota ${PV}"
+ perl -Mblib="${S}" -M"Quota ${PV} ()" -e1
+ if ! eend $?; then
+ echo
+ eerror "One or more modules failed compile:";
+ eerror " Quota ${PV}"
+ die "Failing due to module compilation errors";
+ fi
+ perl-module_src_test
+}