public inbox for gentoo-perl@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Cummings <mcummings@gentoo.org>
To: gentoo-perl@lists.gentoo.org
Subject: Re: [gentoo-perl] Proposed perl-module.eclass additions
Date: Fri, 01 Sep 2006 12:07:22 -0400	[thread overview]
Message-ID: <44F85ABA.3090900@gentoo.org> (raw)
In-Reply-To: <44F84A5A.9010103@gentoo.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Cummings wrote:
> Christian Hartmann wrote:
>>> Sure.. why not. - Wouldn't that be something for eutils btw?
>>>
> Oh great swami, you are right. Here's what I'd like to push into the
> tree today (yeah, already written, but thought I'd swing it through here
> real fast):
> 
Not sure what happened to my last version of this, but it was broken
anyway so here's a better working one:

$ diff -Naup ~/perl-module.eclass perl-module.eclass
- --- /home/mcummings/perl-module.eclass  2006-09-01 11:07:54.000000000
-0400
+++ perl-module.eclass  2006-09-01 11:09:22.000000000 -0400
@@ -8,8 +8,9 @@
 # The perl-module eclass is designed to allow easier installation of perl
 # modules, and their incorporation into the Gentoo Linux system.

+inherit base

- -EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm
pkg_postrm src_compile src_install src_test
+EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm
pkg_postrm src_compile src_install src_test src_unpack

 # 2005.04.28 mcummings
 # Mounting problems with src_test functions has forced me to make the
@@ -95,6 +96,15 @@ POD_DIR=""
 BUILDER_VER=""
 pm_echovar=""

+perl-module_src_unpack() {
+       if [[ -n ${PATCHES} ]]; then
+               base_src_unpack unpack
+               base_src_unpack autopatch
+       else
+               base_src_unpack unpack
+       fi
+}
+
 perl-module_src_prep() {

        perlinfo

- --

- -----o()o----------------------------------------------
Michael Cummings   |    #gentoo-dev, #gentoo-perl
Gentoo Perl Dev    |    on irc.freenode.net
Gentoo/SPARC
Gentoo/AMD64
GPG: 0543 6FA3 5F82 3A76 3BF7  8323 AB5C ED4E 9E7F 4E2E
- -----o()o----------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFE+Fq6q1ztTp5/Ti4RAhgMAJ4pZvZPymZ/DT+vxQsLroWsE/sV/ACfceyH
H3TAos9AdEC7ZgXjKaF2cpo=
=0pdA
-----END PGP SIGNATURE-----
-- 
gentoo-perl@gentoo.org mailing list



      parent reply	other threads:[~2006-09-01 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09 15:54 [gentoo-perl] Proposed perl-module.eclass additions Michael Cummings
2006-08-09 16:00 ` Yuval Yaari
2006-08-09 17:10 ` Christian Hartmann
2006-08-09 17:16   ` Michael Cummings
2006-08-28 20:23   ` Michael Cummings
     [not found]   ` <44F84A5A.9010103@gentoo.org>
2006-09-01 16:07     ` Michael Cummings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44F85ABA.3090900@gentoo.org \
    --to=mcummings@gentoo.org \
    --cc=gentoo-perl@gentoo.org \
    --cc=gentoo-perl@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox