Hi,

I saw kentfredric are working on gentoo ebuilds, These I've created for
my personal use over the years. Some, at least one, I uploaded to genoo
bugzilla, but nothing came of it in terms of release, so I guess I
stopped bothering, sorry.

Maybe they are useful.

Ingo
PS: I wonder where and how to upload them to github?

On 08/25/2015 07:42 PM, Zakariyya Mughal wrote:
> On 2015-08-24 at 23:48:51 +0000, Chris Marshall wrote:
>> PDL Developers-
>>
>>      With the addition of two active and highly motivated PDL developers
>> (Zakariyya Mughal and Guggle "Ed" Worth) we've made significant progress
>> in cleaning up the PDL distribution itself and the development process
>> itself.  PDL is now run through test builds automatically on git commit
>> via the Travis-CI framework of github.  Many perl platforms and PDL
>> configuration options are exercised.  PDL-2.013 was the best tested
>> pre-release release ever.
>>
>>      The current process we've been working toward is to make
>> PDL development faster and more responsive by breaking up the current
>> monolithic PDL distribution into a lean core (roughly the current
>> PDL::Core, PDL:PP, and PDL::Slices) and spinning off the other modules
>> for IO, Graphics, and Library interfaces as their own CPAN releases.
>> This would enable the separate module/distributions to have a faster
>> development-test-relese cycle since that process would not be held up by
>> the testing of the full PDL distribution with all its subcomponents,
>> even if they are completely independent/unrelated to the separate module
>> changes being made.
>>
>>      We're ready to make the split, but there is a catch...  How can we
>> have the rapid agile development needed to bring the next generation
>> PDL3 possible _without_ losing the "PDL just works" that has been one of
>> the primary focus of PDL-2.x development since I volunteered as release
>> manager circa PDL-2.4.3 [sic]?
>>
>>      There has been some discussion, largely on #pdl, about how to best
>> proceed.  One idea is to move to a constant release mode which could be
>> expedited by adding co-maints to PDL.  I've not acted on that largely
>> because I feel that PDL just working, easy to get and start to use, is
>> essential to survive as a minority numeric computation engine (compared
>> with R, NumPy, Octave/MATLAB).  How can we grow market share if it takes
>> a perl expert to start using PDL?
>>
>>      That said, I think the "big split" is the best way forward for PDL
>> to grow and thrive.  The ideas for the PDL3 core engine show great
>> promise for the kind of dynamic development as occurred when Karl first
>> conceived and implemented the idea that would become PDL.
>> Unfortunately, my experience with rapid sequential releases is a sort of
>> "churn" where it is difficult to know if you'll be able to get a working
>> module at any given release.  So what to do...
>>
>>      One idea I had is change the stable PDL release distribution into a
>> PDL bundle.  That would be the "stable PDL" that would be easy to get
>> and install.  The sub-modules would then be able to have independent
>> development forming the "experimental PDL" track.  Another way, a bit
>> more crude, would be to make a fixed "stable PDL" release that would be
>> the one to install.  Maybe we could use specific version information to
>> work with cpan, cpanm,...
>>
>>      Here's where we need your input for discussion and consensus.
>> Please feel free to comment on any of the above, or to offer your own
>> thoughts.  The goal is to select the preferred approach for modern PDL
>> development and move out on it.  I would like to complete this discuss
>> process within the next two weeks.  At that point we should be able to
>> make a specific plan for any final comments with the agile development
>> to begin shortly after.
>>
>> Let the discussions begin!
> Hello Chris,
>
> First off, thank you for starting this conversation.
>
> Ed and I have been working on and off as time permits on preparing for
> the split. The work we've been doing hasn't really generated much
> traffic on the pdl-devel mailing list, but the #pdl and PDLPorters
> GitHub organisation shows a very different story. There is a lot going
> on there every few days. The discussion on those two mediums is a little
> more agile than the mailing list or SourceForge and helps with formulating
>
> I highly recommend joining both by watching the repositories in
> PDLPorters and following the IRC by either joining in a client or
> tracking the backlog with <http://irclog.perlgeek.de/pdl/>.
>
> I'd like to summarise some of what we came up with on GitHub/IRC:
>
>  1. A split is necessary to not only make releases easier, but also
>     development. We have worked on reducing the time required to build
>     PDL across multiple environments down to a little over 1 hour.
>
>     This is still too long when you have perhaps 1.5 hours of tuits that
>     day. So the work inevitably gets spread out over weeks.
>
>     A split would help decrease this friction.
>
>  2. Making `cpanm PDL` always work has always part of the plan.
>     Improving the PDL devops has helped with that. The plan is to
>     continue doing that.
>
>     But large refactors such as this split can be quite daunting. We
>     can't be sure we will stick the landing right the first time. But
>     the job needs to move forward or it will fail via analysis paralysis
>     even before it has begun.
>
>  3. Ed and I have been thinking about releasing a more agile, friendly
>     fork of PDL under the PDLA namespace (for PDL Agile). The
>     repositories will continue to live under the PDLPorters GitHub
>     organisation.
>
>     We will start by applying the split. This will be followed by
>     improving code coverage, fixes to the 64-bit indexing, formalising
>     the badvalue semantics for more functions, and bug-fixes.
>
>     We plan on making sure that libraries such as PDL-Stats, PDL-IO-CSV,
>     etc. remain compatible with this library. I believe there is a way
>     to do this without making changes to the original code (via a subref
>     in @INC).
>  
>  4. The modules that come from the split will each be improved so that
>     they are easy to install on their own. We already have plans to
>     write Alien::Base modules for all of them.
>
>  5. In parallel with this, we will begin reaching out to distribution
>     packagers. PDL has not been updated on many of them (some of which
>     are on 2.4.x). This is already on the wishlist at 
> <https://github.com/PDLPorters/pdl/issues/139>.
>
>  6. The current PDL distribution will remain as it is. Bugfixes will
>     continue on PDL and they will be backported from PDLA. This approach
>     has worked well for IPython/Jupyter (which underwent a split earlier
>     this summer)[^jupyter-split]. Back porting fixes was a large part
>     of what they had to go through.
>
>  7. Eventually, after we are sure that PDLA has maintained
>     compatibility with PDL, the changes of PDLA will replace the
>     current PDL repository.
>
> Finally, I also have some ideas for PDL3 that I will post in about a
> month's time. One of the top priorities on the feature list of PDL3's C
> API needs to be the ability to do optmisations such as loop fusion. I
> need to ponder on how to combine this with the Moo-like metaprogramming
> that we envision. The Julia developers seem to be working on this, but
> there are still big unresolved questions on the issue tracker.
>
> By the way, I think it might be better to avoid putting a number in the
> name of this next major version of PDL. It's a personal opinion that
> stems from marketing issues that are similar to what happened with
> Osborne 1 <https://en.wikipedia.org/wiki/Osborne_effect> and somewhat
> with Perl 6. This isn't a strongly held opinion, but I feel that it is
> worth bringing up.
>
> [^jupyter-split]: http://blog.jupyter.org/2015/04/15/the-big-split/
>
> Cheers,
> - Zaki Mughal
>
>> --Chris
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> pdl-devel mailing list
>> pdl-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pdl-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> pdl-devel mailing list
> pdl-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pdl-devel

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.10.ebuild,v 1.0
# 2012/01/16 13:39:54 tove Exp $

EAPI=5

PVN=2.007_03

SRC_URI="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/${PN}-${PVN}.tar.gz";
MODULE_AUTHOR="CHM"
inherit perl-module eutils multilib
S=${WORKDIR}/${PN}-${PVN}
DESCRIPTION="PDL Perl Module"

LICENSE="Artistic as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
IUSE="badval fftw gsl"

DEPEND=">=sys-libs/ncurses-5.2
        dev-perl/Filter
        virtual/perl-File-Spec
        virtual/perl-Pod-Parser
        dev-perl/Inline
        dev-perl/Astro-FITS-Header
        >=dev-perl/ExtUtils-F77-1.13
        virtual/perl-Text-Balanced
        dev-perl/Term-ReadLine-Perl
        gsl? ( sci-libs/gsl )
        fftw? ( sci-libs/fftw:2.1 )"
        #opengl? ( virtual/opengl virtual/glu )

mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO"

SRC_TEST="do"

MAKEOPTS+=" -j1" #300272

src_prepare() {
        epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch"

        # Unconditional -fPIC for the lib (#55238, #180807, #250335)
        epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch"

        # TODO: everything in this function below this
        # TODO: line really belongs in src_compile() :

        # This 'fix' breaks compiles for non-opengl users
        #if ! use opengl ; then
        #       sed -e "s:WITH_3D => undef:WITH_3D => 0:" \
        #               ${FILESDIR}/perldl.conf > ${S}/perldl.conf
        #fi
        sed -i \
                -e "s:WITH_HDF => undef:WITH_HDF => 0:" \
                -e "s:USE_POGL => undef:USE_POGL => 0:" \
                -e "s:WITH_3D => undef:WITH_3D => 1:" "${S}/perldl.conf" || die

        if use badval ; then
                sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" 
"${S}/perldl.conf" || die
        fi

        # Turn off GSL automagic:
        if use gsl ; then
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off FFTW automagic too:
        if use fftw ; then
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" 
"${S}/perldl.conf" || die
        fi
}

src_install() {
        perl-module_src_install

        cp "${S}"/Doc/{scantree.pl,mkhtmldoc.pl} "${D}"/${VENDOR_ARCH}/PDL/Doc/ 
|| die
}

pkg_postinst() {
        if [[ ${ROOT} = / ]] ; then
                perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl
                elog "Building perldl.db done. You can recreate this at any 
time"
                elog "by running"
        else
                elog "You must create perldl.db by running"
        fi
        elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
        elog "PDL requires that glx and dri support be enabled in"
        elog "your X configuration for certain parts of the graphics"
        elog "engine to work. See your X's documentation for futher"
        elog "information."
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.10.ebuild,v 1.0
# 2012/01/16 13:39:54 tove Exp $

EAPI=5

PVN=2.007_04

SRC_URI="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/${PN}-${PVN}.tar.gz";
MODULE_AUTHOR="CHM"
inherit perl-module eutils multilib
S=${WORKDIR}/${PN}-${PVN}
DESCRIPTION="PDL Perl Module"

LICENSE="Artistic as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
IUSE="badval fftw gsl"

DEPEND=">=sys-libs/ncurses-5.2
        dev-perl/Filter
        virtual/perl-File-Spec
        virtual/perl-Pod-Parser
        dev-perl/Inline
        dev-perl/Astro-FITS-Header
        >=dev-perl/ExtUtils-F77-1.13
        virtual/perl-Text-Balanced
        dev-perl/Term-ReadLine-Perl
        gsl? ( sci-libs/gsl )
        fftw? ( sci-libs/fftw:2.1 )"
        #opengl? ( virtual/opengl virtual/glu )

mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO"

SRC_TEST="do"

MAKEOPTS+=" -j1" #300272

src_prepare() {
        epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch"

        # Unconditional -fPIC for the lib (#55238, #180807, #250335)
        epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch"

        # TODO: everything in this function below this
        # TODO: line really belongs in src_compile() :

        # This 'fix' breaks compiles for non-opengl users
        #if ! use opengl ; then
        #       sed -e "s:WITH_3D => undef:WITH_3D => 0:" \
        #               ${FILESDIR}/perldl.conf > ${S}/perldl.conf
        #fi
        sed -i \
                -e "s:WITH_HDF => undef:WITH_HDF => 0:" \
                -e "s:USE_POGL => undef:USE_POGL => 0:" \
                -e "s:WITH_3D => undef:WITH_3D => 1:" "${S}/perldl.conf" || die

        if use badval ; then
                sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" 
"${S}/perldl.conf" || die
        fi

        # Turn off GSL automagic:
        if use gsl ; then
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off FFTW automagic too:
        if use fftw ; then
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" 
"${S}/perldl.conf" || die
        fi
}

src_install() {
        perl-module_src_install

        cp "${S}"/Doc/{scantree.pl,mkhtmldoc.pl} "${D}"/${VENDOR_ARCH}/PDL/Doc/ 
|| die
}

pkg_postinst() {
        if [[ ${ROOT} = / ]] ; then
                perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl
                elog "Building perldl.db done. You can recreate this at any 
time"
                elog "by running"
        else
                elog "You must create perldl.db by running"
        fi
        elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
        elog "PDL requires that glx and dri support be enabled in"
        elog "your X configuration for certain parts of the graphics"
        elog "engine to work. See your X's documentation for futher"
        elog "information."
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.10.ebuild,v 1.0
# 2012/01/16 13:39:54 tove Exp $

EAPI=5

PVN=2.012

SRC_URI="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/${PN}-${PVN}.tar.gz";
MODULE_AUTHOR="CHM"
inherit perl-module eutils multilib
S=${WORKDIR}/${PN}-${PVN}
DESCRIPTION="PDL Perl Module"

LICENSE="Artistic as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
IUSE="badval fftw gsl proj"

DEPEND=">=sys-libs/ncurses-5.2
        dev-perl/Filter
        virtual/perl-File-Spec
        virtual/perl-Pod-Parser
        dev-perl/Inline
        proj? ( dev-perl/Inline-C )
        dev-perl/Astro-FITS-Header
        perl-gcpan/Devel-CheckLib
        >=dev-perl/ExtUtils-F77-1.13
        virtual/perl-Text-Balanced
        dev-perl/Term-ReadLine-Perl
        gsl? ( sci-libs/gsl )
        proj? ( sci-libs/proj )
        fftw? ( sci-libs/fftw:2.1 )"
        #opengl? ( virtual/opengl virtual/glu )

mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO"

SRC_TEST="do"

MAKEOPTS+=" -j1" #300272

src_prepare() {
        epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch"

        # Unconditional -fPIC for the lib (#55238, #180807, #250335)
        epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch"

        # TODO: everything in this function below this
        # TODO: line really belongs in src_compile() :

        # This 'fix' breaks compiles for non-opengl users
        #if ! use opengl ; then
        #       sed -e "s:WITH_3D => undef:WITH_3D => 0:" \
        #               ${FILESDIR}/perldl.conf > ${S}/perldl.conf
        #fi
        sed -i \
                -e "s:WITH_HDF => undef:WITH_HDF => 0:" \
                -e "s:USE_POGL => undef:USE_POGL => 0:" \
                -e "s:WITH_3D => undef:WITH_3D => 1:" "${S}/perldl.conf" || die

        if use badval ; then
                sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" 
"${S}/perldl.conf" || die
        fi

        # Turn off GSL automagic:
        if use gsl ; then
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off FFTW automagic too:
        if use fftw ; then
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off Proj4 automagic too:
        if use proj ; then
                sed -i -e "s:WITH_PROJ => undef:WITH_PROJ => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_PROJ => undef:WITH_PROJ => 0:" 
"${S}/perldl.conf" || die
        fi
}

src_install() {
        perl-module_src_install

        cp "${S}"/Doc/{scantree.pl,mkhtmldoc.pl} "${D}"/${VENDOR_ARCH}/PDL/Doc/ 
|| die
}

pkg_postinst() {
        if [[ ${ROOT} = / ]] ; then
                perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl
                elog "Building perldl.db done. You can recreate this at any 
time"
                elog "by running"
        else
                elog "You must create perldl.db by running"
        fi
        elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
        elog "PDL requires that glx and dri support be enabled in"
        elog "your X configuration for certain parts of the graphics"
        elog "engine to work. See your X's documentation for futher"
        elog "information."
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.10.ebuild,v 1.0
# 2012/01/16 13:39:54 tove Exp $

EAPI=5

PVN=2.013

SRC_URI="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/${PN}-${PVN}.tar.gz";
MODULE_AUTHOR="CHM"
inherit perl-module eutils multilib
S=${WORKDIR}/${PN}-${PVN}
DESCRIPTION="PDL Perl Module"

LICENSE="Artistic as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
IUSE="badval fftw gsl proj"

DEPEND=">=sys-libs/ncurses-5.2
        dev-perl/Filter
        virtual/perl-File-Spec
        virtual/perl-Pod-Parser
        dev-perl/Inline
        proj? ( dev-perl/Inline-C )
        dev-perl/Astro-FITS-Header
        perl-gcpan/Devel-CheckLib
        >=dev-perl/ExtUtils-F77-1.13
        virtual/perl-Text-Balanced
        dev-perl/Term-ReadLine-Perl
        gsl? ( sci-libs/gsl )
        proj? ( sci-libs/proj )
        fftw? ( sci-libs/fftw:2.1 )"
        #opengl? ( virtual/opengl virtual/glu )

mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO"

SRC_TEST="do"

MAKEOPTS+=" -j1" #300272

src_prepare() {
        epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch"

        # Unconditional -fPIC for the lib (#55238, #180807, #250335)
        epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch"

        # TODO: everything in this function below this
        # TODO: line really belongs in src_compile() :

        # This 'fix' breaks compiles for non-opengl users
        #if ! use opengl ; then
        #       sed -e "s:WITH_3D => undef:WITH_3D => 0:" \
        #               ${FILESDIR}/perldl.conf > ${S}/perldl.conf
        #fi
        sed -i \
                -e "s:WITH_HDF => undef:WITH_HDF => 0:" \
                -e "s:USE_POGL => undef:USE_POGL => 0:" \
                -e "s:WITH_3D => undef:WITH_3D => 1:" "${S}/perldl.conf" || die

        if use badval ; then
                sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" 
"${S}/perldl.conf" || die
        fi

        # Turn off GSL automagic:
        if use gsl ; then
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off FFTW automagic too:
        if use fftw ; then
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" 
"${S}/perldl.conf" || die
        fi
        # Turn off Proj4 automagic too:
        if use proj ; then
                sed -i -e "s:WITH_PROJ => undef:WITH_PROJ => 1:" 
"${S}/perldl.conf" || die
        else
                sed -i -e "s:WITH_PROJ => undef:WITH_PROJ => 0:" 
"${S}/perldl.conf" || die
        fi
}

src_install() {
        perl-module_src_install

        cp "${S}"/Doc/{scantree.pl,mkhtmldoc.pl} "${D}"/${VENDOR_ARCH}/PDL/Doc/ 
|| die
}

pkg_postinst() {
        if [[ ${ROOT} = / ]] ; then
                perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl
                elog "Building perldl.db done. You can recreate this at any 
time"
                elog "by running"
        else
                elog "You must create perldl.db by running"
        fi
        elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
        elog "PDL requires that glx and dri support be enabled in"
        elog "your X configuration for certain parts of the graphics"
        elog "engine to work. See your X's documentation for futher"
        elog "information."
}
------------------------------------------------------------------------------
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to