commit:     347c2628a5a5853ebc8a39a66794abe685d640bf
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 14:08:12 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 14:09:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347c2628

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 <AT> gentoo.org>

 dev-perl/Quota/Manifest           |  1 +
 dev-perl/Quota/Quota-1.8.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

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
+}

Reply via email to