PaCPAN: tool for building Perl packages for Pacman from CPAN

http://xyne.archlinux.ca/info/pacpan
*edit*
Pacpan functionality has evolved as of version 4.0. CPAN distribution and metadata handling has improved and there are now functions which can query installed packages to determine their adherence to the packaging guidelines.
Building packages with dependency resolution etc has been move to bauerbill, which can now build CPAN packages using standard pacman options, e.g. "bauerbill -S perl-foo-bar" or "bauerbill -S Foo::Bar".
Last edited by Xyne (2010-02-01 22:00:32)

Imagine going looking for a perl cpan pacman solution and finding out you wrote one ofc i had to give it a spin
Works really well but i did run into trouble when installing Spreadsheet::WriteExcel something went wrong with one of the dependencies.
REQUIREMENTS
    This module requires Perl 5.005 (or later), Parse::RecDescent
    and File::Temp:
Works fine as long as i removed, 'perl-' from depends=
[vociferous@avatar ~]$ pacpan Spreadsheet::WriteExcel
==> retrieving info for Spreadsheet::WriteExcel
Use of uninitialized value $module in hash element at /usr/bin/pacpan line 961, <GEN1> line 298.
Use of uninitialized value $p_dep in string eq at /usr/bin/pacpan line 789, <GEN1> line 298.
Use of uninitialized value $p_dep in hash element at /usr/bin/pacpan line 790, <GEN1> line 298.
==> FOUND: found pkg: File::Temp -> perl
==> retrieving info for OLE::Storage_Lite
==> FOUND: found pkg: Parse::RecDescent -> perl-parse-recdescent
Use of uninitialized value in concatenation (.) or string at /usr/bin/pacpan line 546, <GEN1> line 1098.
Use of uninitialized value $pkgname in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
Use of uninitialized value $pkgver in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
Use of uninitialized value $url in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 325, <GEN1> line 1098.
Use of uninitialized value $ver in concatenation (.) or string at /usr/bin/pacpan line 325, <GEN1> line 1098.
Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
==> SUCCESS: generated build script: build_cpan
pacpan Spreadsheet::WriteExcel --get-pkgbuild
Use of uninitialized value $module in hash element at /usr/bin/pacpan line 961, <GEN1> line 298.
Use of uninitialized value $p_dep in string eq at /usr/bin/pacpan line 789, <GEN1> line 298.
Use of uninitialized value $p_dep in hash element at /usr/bin/pacpan line 790, <GEN1> line 298.
# PKGBUILD generated by pacpan
pkgname=perl-spreadsheet-writeexcel
_realname=Spreadsheet-WriteExcel
pkgver=2.25
pkgrel=1
pkgdesc="no description available"
arch=(i686 x86_64)
license=('unknown, check site')
url="http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.25/lib/Spreadsheet/WriteExcel.pm"
depends=('perl' 'perl-parse-recdescent' 'perl-' 'perl-ole-storage_lite')
options=(!emptydirs)
#provides=('Spreadsheet-WriteExcel')
provides=('spreadsheet-writeexcel')
source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Spreadsheet-WriteExcel-2.25.tar.gz)
md5sums=('ad70e5b031c0af60c50a72d8b09240c9')
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=${pkgdir} || return 1
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
# END OF PACPAN PKGBUILD

Similar Messages

  • Patch updates for text-heavy packages in pacman

    I just updated qt-doc from 4.5.2 to 4.5.3, a download of 90.3MiB. The package for 4.5.2 (which I downloaded just a month earlier) was 90.1MiB. This is about the biggest package I get with any regularity, but I've been telling pacman to
    --ignore qt-doc
    because the download is a pain when I'm busy doing other things.
    Out of curiosity, I extracted and diffed the two packages:
    $ mkdir 4.5.2; tar -xzf qt-doc-4.5.2-1-x86_64.pkg.tar.gz -C4.5.2
    $ mkdir 4.5.3; tar -xzf qt-doc-4.5.3-1-any.pkg.tar.gz -C4.5.3
    $ diff -rN 4.5.2 4.5.3 | gzip > outfile.gz
    The size of the resulting file was 1.3MiB. That is, pacman has me downloading almost 70 times as much data as I would be with the simplest of improvements.
    User-modified files might pose a small problem, and you'd need a policy for which from/to diffs to provide, but this would be a big win for a small price even if only the [curr-1:curr] patch was available.
    Obviously not a good idea for most things, but for source and documentation packages it's almost silly not to do it.

    Terribly sorry if I caused offense  (or sounded "pissed"). Perhaps I should be more explicit:
    I'm a bored programmer. If some extra manpower will help things along (that is, if this is sitting on the back-burner because it's not interesting or important) I'm willing to spend some time in the trenches.
    Edit: Looking around it seems folk are more stuck on how to best implement this, rather than on the implementation itself. Ho hum, hope it turns out well, but it doesn't really look like I can do much to help.
    Last edited by repsilat (2009-12-01 11:14:40)

  • [Solved] Would someone mind building this package for me?

    Because I'm having a problem with on of it's build dependencies I'm unable to build this package:
    awn-extras-applets-bzr
    Would someone mind building it for me?  It's for x86_64 and from the AUR.  I would definitely appreciate it.
    Last edited by Gen2ly (2012-05-01 17:16:23)

    SidK wrote:I've uploaded it to http://ompldr.org/vZGwxNg/awn-extras-ap … pkg.tar.xz
    Do you also need the dependencies from the AUR compiled?
    No, I'm good up to then.  Installed and it works.  Very much appreciate the help.

  • Instructions for installing Business Package for SAP CRM 7.0

    We hae CRM 7.0 and we have a Netweaver 7.0 (2004s) portal.  Can someone please either point me to the documentation or explain to me how to install the Business Package for SAP CRM on the portal?
    Thanks
    Angie

    need to go to service marketplace and go to Support Packages and Patches/My Companys Applciation Components/SAP CRM/SAP CRM 7.0/Entry by Component/CRM Portal Content and the business packages are there.

  • I am looking for the .msi package for the new Adobe Acrobat X 10.1.4 I need to deploy it over a larg

    I am trying to install Adobe Reader X over a large number of computers, and need an .MSI installer package in order to deploy it silently. Does anyone have this package for me?

    You can extract MSI from EXE file using following command line
    AdbeRdr1014_en_US.exe -sfx_ne -sfx_o"<somepath>\Extract
    The extracted folder contains 10.1.4 patch file in MSP format i.e. AdbeRdrUpd1014.msp
    Then after you can use following line for complete installation
    msiexec.exe /i "[UNC PATH]\AcroRead.msi" PATCH="[UNCPATH]\AdbeRdrUpd1014.msp"
    For more information, please look at this article: http://kb2.adobe.com/cps/837/cpsid_83709/attachments/Acrobat_Enterprise_Administration.pdf

  • How to build SSIS package for SAP BPC 5.0

    Is the above how paper apply to BPC 5.1?
    I also have two questions:
    1.As we know in the Data Manager 5.1 user guide indicate that we use DTS to manage  SQL Server 2000 packages,and  SSIS  to manage  SQL Server 2005 packages.
    Also in the guide, when it discuss about the data manager package, it only reference DTS, is all the DTS package discussed in that guide apply to SSIS?
    2. from BPC 7.0 NW, the BPC is part of NetWeaver , what role SSIS is play here, since we know that a lot of customer of not use SQL Server  as their database.

    Hi JW,
    The answer to your question #2 is that we won't have SSIS packages in BPC7NW since all SQL server based functionality won't be there in Netweaver version. If you use migration tools to migrate from BPC5.x to BPC7NW, it can convert SSIS packages. However any custom SSIS code would have to be converted manually. For more information, please read Ryan's blog at SAP's definitive strategy for planning technologies moving forward: What's the word on BPC, BI-IP and SRC?
    Regards
    Pravin

  • What is "Disk 2" for in the packaging for Premiere Elements 9? Content or installation need?

    I just got the Premiere Elements 9 yesterday and used "Disk 1" for the installation.  There is NOTHING that I found in the packaging materials to explain what "Disk 2" is used for.  Is it needed for further installation?  Content?  I hesitate to just put it in the DVD tray without knowing what it is to be used for.  I did download the full templates content last night (4 1/2 hours for nearly 5GB of a file).  Thanks for any information anyone can provide me.

    Bill,
    Thank you for your comments!  I figured that maybe, possibly someone in the
    Adobe higher up level might monitor the forums, see my posting(s) and see my
    point.  A few years ago I had gotten the second or third generation of
    Premiere and Photoshop Elements and have had them on my main computer.
    Still do. 
    I just got a laptop and earlier this spring I got a Flip HD Slide camcorder,
    but trying to convert those videos to burn on DVD has proven to be a pain.
    I only found one or two software packages that could convert the MPG4
    formats, and they take forever to format.  So I thought that I'd get PE9
    since I'd read that it had Flip video compatibility.  It did a good job
    yesterday doing what I wanted it to do in burning a DVD.
    I'm old school on labeling the installation disks.  Like you said, years ago
    Adobe (and other software companies, for that matter) had pretty good
    installation and reference cards for use.  I just wasn't quite sure what to
    do with Disk 2.  I got on the Live Chat yesterday morning with a ViJay Kanna
    and all he could come up with was to contact tech support.  So I called that
    800 number and got the message that it would be $39.95 for them to answer
    questions. 
    I decided that I'd better find a better way, so I hung up and found the PE9
    forum.  Posted my question and had a response in just a matter of minutes. 
    I'll certainly be checking in on the forums!  It is nice when other
    contributors actually provide good, solid information, advice, and support
    for each other!
    I just got back from our town square, using my Flip camcorder to get some
    shots of Santa arriving with his police escort to visit with some Fairfield
    children before heading off on his rounds.  I'm looking forward now to see
    what I can put together on PE9! 
    Have a great holiday and thank you for your support and thoughts.  They are
    much appreciated.  Maybe someone at Adobe will change their disk labels
    after all! That is one of my 'wishes' for Santa!
    Sincerely,
    Richard K Thompson
    Fairfield, Iowa

  • Looking for Online Accounting package for intercontinental business

    Does anyone know of accounting software that is an online accounts package rather than having a static accounts server that you dial into?
    Similar to online banking but for online accounting?
    Sharon

    Have you Goggled the words "online accounting"?

  • Need info on the approach for building admin forms for authoring

    Hi,
    I have a requirement to store the content in the content repository. I have two levels of data to be stored i.e. continents & countries; both continents & countries have their individual properties; continent contains countries node. I need to build a mechanism to store the content at a particular location in the JCR. The content authors should be able to add, edit or delete the continents & countries.
    What's the best way to build this admin form? Should the custom node types be created? Should a custom action type to be built? To support dynamism on UI i.e. add, edit & delete in a single form - how can it be done efficiently?
    If someone can provide me pointers, I will start with my build. Let me know if you need more information.
    Thanks,
    Chetanya

    Justin,
    The approach you listed sounds easy to implement.
    However I want to understand why out of all we choose cq:Page and why not nt:unstructured or sling:orderedFolder? Can sorting be enabled in this case?
    Also I have various scenarios where I need to store different form of data. Another example is storing product information in a alphebetical manner. There are lot of products to be stored and needs to be displayed in a tab format. The tab looks something like this A-E, F-L, M-S, T-Z, which should be configurable. Do you recommend creating one page per alphebet e:g A, B, C... and add all products (component) starting with A under page A, and so on? Or is there a better way to implement?
    Can something like calendar event be used here where in year, month and day node gets created first and then the event node is added. If so, in the above scenario how can the nodes A, B, C... be autocreated when products are added? Also the products need to be always sorted.
    Thanks,
    Chetanya

  • [yaourt] Keep sources/build files only for specific AUR packages

    Hi,
    By default, packages are build in BUILDDIR=/tmp/makepkg, which itself usually is a virtual dir in RAM. I generally like this behaviour, so I don't wanna change the BUILDDIR variable to point to a dir on the harddisk, but for a few packages I'd welcome the sources/build dir to be kept, e.g. for *-git packages to reduce build time on consecutive updates. Is there a neat Arch-way to tell the makepkg system to use a different dir (i.e., one on the harddisk) for specific packages? It'd be even greater to be able to use wildcards as well, so I could just enable this option for all *-git packages.
    And as I said, I generally like the idea of building in RAM so the trick to just let BUILDDIR point to a dir on my hdd and put a command in some shutdown-script to delete all but the directories ending in -git wouldn't be perfect
    Cheers
    Last edited by epinephrine (2013-01-27 16:25:17)

    Oh you're right in that BUILDDIR isn't set by default. I use yaourt for building AUR packages, so this is a yaourt related question, oops. I'll ask in the appropriate forum...
    Some packages are only available as git packages, and that for a good reason. Some git repository maintainers follow the good working principle to always have their master branch stable and deployable and do development and testing in respective branches to keep master clean. E.g. I maintain 2 git packages on the AUR, and there are no other "stable" options, also as git makes sense for these packages.
    And sometimes you just need a more up2date version

  • [SOLVED]Search inside packages for future actions

    Hi!
    I have had some troubles when I downloaded a lot of fonts and used makefontpkg script for making installation packages for them. The problem was that all files created by makepkg was automatically moved to the predefined folder and got mixed with other packages there. Then, I decided to make a new folder for them and for an easy way to move all of the font install packages I made a script.
    Here is just an example of it:
    #!/bin/bash
    for InFile in *.xz ;
    do GetDescription=$(tar -xOf $InFile .PKGINFO | grep 'pkgdesc = ' | grep font | awk '{print $1}' );
    if [ "x"$GetDescription != "x" ] ;
    then
    echo This $InFile package contains "font" in the description;
    ### mv $InFile ./FontInstallPackages
    fi;
    done;
    I hope this will be useful for someone
    Last edited by Andy_Crowd (2014-04-09 19:42:00)

    I would suggest neither the caption nor the description. They each have their own purpose and overloading them is not necessary.
    Personally, I prefer explicitly building the references of the controls I want into an array and passing that array to a subVI. See here for a simple example:
    That example uses the OpenG VI internally, but you can easily replace it with the NI VI if you flatten the variant to a string. The same concept can apply to saving to a DB. This RCF plugin allows quickly building an array of references for selected controls.
    Another option which is more elegant than using the description is assigning a tag to each control you want to edit. This is more elegant, but requires building an edit time tool which will allow you to edit tags on controls, since the only way of accessing them today is through a reference to the object which has the tag. You can build such a tool, but it requires a bit of know-how. This VI (basically a floating tool which allows you to manipulate selection on the VI you're currently editing) will get you some of the way there and also show you where the tag VIs are.
    Try to take over the world!
    Attachments:
    Floating Tool.vi ‏13 KB

  • Business Package for Supplier (mySAP ERP) Implementation Guide

    Hi all,
    Does anyone know where could I found an Implementation guide for the Business Package for Supplier (mySAP ERP)?
    Regards,
    Orlando Covault

    So far the only implementation guide that I found is this one Business Package for Supplier Collaboration 60.1, but this is not exactly what I am looking for.
    Anyone used or implemented the Business Package for Supplier (mySAP ERP) Implementation Guide.
    Regards,
    Orlando Covault

  • Business Package for MDM 5.5 SP3

    Hi
    We are struggeling a little bit with the connection to the MDM Server.
    Portal version = NW04 Stack14, MDM version = 5.5 SP3 and the Business Package for MDM has been installed in the EP.
    SAP EP on a single server, MDM on a single server.
    In the documentation for the Busines Package for MDM at page 4 where we are "Creating Portal Systems Objects for Custom Repositories", I have a question regarding the MDM server references.
    Step 1. System adm - System conf - System Landscape - My folder - New - System - MDM Server - Next
    Step 2. System name= MDM, ID=mdm, prefix=com.xx, Language = English, Description = My test - Next
    Step 3. MDM Server = ???? The host of which the MDM server is running or the MDM server itself - and which password should we use, The password for the host, the MDM server or the database????
    Regards
    Kay-Arne

    Hi.
    I managed to solve this issue by myself:)
    I think the error is that I used the system templates from sp2....
    Either way, i created a system from par "com.sap.pct.mdm.tech.systems" and filled in name, id, prefix, language and description. From there I opened the object, selected:
    Usermanagement
        - Usermapping: admin,user
    Connection properties
        - MDM 5.5 Host Server: Myserver
        - Repository Language:  English [US]
        - Repository Port:     2005
        - Schema Language:     English [US]
    System Aliases:
        - My_MDM
    Saved the object
    Maintained the userid and password through Personalize
    Connection Test - and it works
    From there I created a iView (MDM) and followed the wizard
    Regards
    Kay-Arne

  • Kernel SMP Devel Package for OEL 4,7

    Hi,
    Can someone point me the location/url from where I can download the below package :
    kernel-smp-devel-2.6.9-78.0.13.0.1.EL.x86_64.rpm
    I am looking for this specfic package for kernel version 2.6.9-78.0.13.0.1.
    Thanks and Regards
    Anoop

    Hi,
    Actually I open the http://public-yum.oracle.com/ in IE and went to the location mentioned in :
    http://public-yum.oracle.com/public-yum-el4.repo
    But could't find it there, actually repository still has old kernel kernel-smp-devel-2.6.9-78.0.0.0.1.EL.x86_64.rpm.
    But I need the kernel - kernel-smp-devel-2.6.9-78.0.13.0.1.EL.x86_64.rpm
    Please let me know, if anyone has any idea.
    - Anoop

  • Building Cascading Lists for Query Screens

    hi all:
    i tries to follow the tutorial for Building Cascading Lists for Query Screens, but i get the following error:
    oracle.jbo.InvalidOperException: JBO-25063: ?? ???? ?????? ?????? getCurrentRowSlot ??? ???? ?????? ????? ??? ??????.     at oracle.jbo.common.ws.WSObject.invalidOperation(WSObject.java:49)     at oracle.jbo.common.ws.WSRowSetIteratorBase.getCurrentRowSlot(WSRowSetIteratorBase.java:500)     at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:1628)     at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:1605)     at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:516)     at oracle.jbo.uicli.binding.JUCtrlListBinding.toString(JUCtrlListBinding.java:933)     at org.apache.commons.beanutils.BeanUtils.getArrayProperty(BeanUtils.java:558)     at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:309)     at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244)     at gonow.jspService(gonow.jsp:12)     [gonow.jsp]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

Maybe you are looking for