Commit Graph

45 Commits

Author SHA1 Message Date
Timothy Legge
a3eb828a7c apkbuild-cpan.in: add back non perl dependencies on recreate 2020-07-08 11:47:24 +00:00
Timothy Legge
d984d89ced Keep original package order on recreate 2020-07-06 10:51:33 +00:00
Timothy Legge
b60dd09b3b apkbuild-cpan.in: keep provides and replaces on recreate and deal with pkgrel 2020-03-27 02:02:24 +00:00
Timothy Legge
b9f6741f11 apkbuild-cpan.in: add or between license 2020-03-27 02:02:24 +00:00
Timothy Legge
b09e522d70 apkbuild-cpan.in: add additional license and package mappings 2020-03-27 02:02:24 +00:00
Timothy Legge
e448c9a452 apkbuild-cpan.in: Avoid processing duplicate modules in parse_deps 2020-03-27 02:02:24 +00:00
Timothy Legge
8c62020a34 apkbuild-cpan.in: Fix issue if Build.PL and add perl-module-build as makedeps 2020-03-27 02:02:24 +00:00
Timothy Legge
aaf56ec102 apkbuild-cpan.in: reset the pkgrel if the pkgver changes on recreate 2020-03-27 02:02:24 +00:00
Timothy Legge
6670e9479d apkbuild-cpan.in: perl and perl-dev as depends and makedepends
fix issue with how perl-dev was added as a makedepends
perl probably should be a dependency of all per modules
2020-03-27 02:02:24 +00:00
Timothy Legge
bcbb8979c7 apkbuild-cpan.in: fix missing variables fails and remove empty vars
aports convention is to delete empty variables from APKBUILD files
this causes and issue with updating existing APKBUILD files
new depends, makedepends or checkdepends are added to process the file
properly.  Empty variables are then deleted once the file processes correctly
2020-03-27 02:02:24 +00:00
Timothy Legge
0387b8014a apkbuild-cpan.in: improve dealing with old APKBUILD perl module names
remove trailing pkgver from some module names
attempt to use additional variable content to determine perl package name
this now appears to support all but 10 or 11 non metacpan api retrievable
 module information and add a package mapping for perl-ldap
2020-03-27 02:02:17 +00:00
Timothy Legge
28bf6f71f0 apkbuild-cpan.in: fix parse_deps for multiple CPAN::Meta::Requirements return unique
do_depends can send multiple meta dependencies as additional parameters
parse_deps was not itterating through each of the parameters
this fix gets the entire list without duplicate entries
2020-03-23 18:14:47 +00:00
Timothy Legge
3d1c703562 apkbuild-cpan.in: fixes #9990, #9991 and #9992 2020-03-23 18:14:46 +00:00
TBK
402b582810 apkbuild-cpan.in: add OR to license 2020-03-23 13:57:37 +00:00
Joseph Burt
f9da71cc68 apkbuild-cpan.in: add 'configure' prereqs
Prereqs from the 'configure' phase also belong in makedepends
2019-10-01 17:08:51 +01:00
Joseph Burt
baf17c8dd7 apkbuild-cpan.in: always start pkgver with a digit
The 'version' string from CPAN can start with 'v...' or similar.
2019-10-01 17:08:51 +01:00
Timothy Legge
00beae32aa apkbuild-cpan.in: add OR to licenses to indicate perl_5 GPL or artistic is a choice 2019-06-12 12:28:42 +00:00
Timothy Legge
29bf802907 apkbuild-cpan.in: Update licenses to spdx format and remove redundant directory change 2019-04-29 18:32:46 +00:00
Timothy Legge
629a780b1c get and use pkgdesc from cpan api data if the module has no metadata files (returnes unknown) 2019-04-03 16:07:03 +00:00
Natanael Copa
0238acc51d apkbuild-cpan: use $pkgver in source url
replace litteral version string with $pkgver in source url
2019-03-21 12:52:30 +01:00
Natanael Copa
67181962bf apkbuild-cpan: include modules that used to be part of core
we need to check if a given module currently is a part of core. Modules
which have a first_release may have been removed later, for example
Module::Build.
2019-03-21 12:28:11 +01:00
Natanael Copa
122bcd7cb2 apkbuild-cpan: remove prepare function from APKBUILD
the generation of Makefile is comparable with running configure, which
we normally do in the build() function, not in prepare.

also fix some whitespace damamge.
2019-03-21 11:34:06 +01:00
Timothy Legge
ede4203749 apkbuild-cpan.in fix issue with version check 2019-03-20 17:10:15 +00:00
Timothy Legge
422199858c apkbuild-cpan.in fix issues with update, recreate, etc 2019-03-20 17:10:15 +00:00
Timothy Legge
f98db143cb Many of setings should come from module not release api 2019-03-20 17:10:15 +00:00
Timothy Legge
c893530293 Fix for issue with apkbuild-cpan upgrade 2019-03-20 17:10:15 +00:00
Timothy Legge
27c430cc64 Updates for metacpan 2019-03-20 17:10:15 +00:00
Timo Teräs
91de00773f apkbuild-cpan: separate './Build test' to check step 2017-07-11 15:05:10 +03:00
Timo Teräs
37cbcc6d99 apkbuild-cpan: perl no longer has '.' in path, add it for prepare() 2017-07-11 15:04:12 +03:00
tmpfile
ba1d1a3d61 apkbuild-cpan: modernize 2017-07-11 15:02:18 +03:00
Timo Teräs
14f8fcfb37 apkbuild-cpan: fix warnings, improve recreate, add check support 2017-01-31 10:20:14 +02:00
Francesco Colista
9f8ef6b870 apkbuild-cpan: fixed error "Experimental keys on scalar is now forbidden" due to perl upgrade to 5.24 version 2016-07-28 09:44:34 +00:00
Jakub Jirutka
542617a6b1 apkbuild-cpan: invoke default_prepare in prepare() function 2016-06-13 12:35:03 +00:00
Jakub Jirutka
cca53fba63 apkbuild-cpan: replace deprecated shell backticks with $(...) 2016-06-13 12:35:03 +00:00
Jakub Jirutka
d1d805be40 apkbuild-cpan: rename _builddir to builddir 2016-06-13 12:35:03 +00:00
Natanael Copa
ad9db219b8 fix permissions 2014-03-31 11:49:48 +00:00
Kiyoshi Aman
9dab733417 apkbuild-cpan: Depend on test-requires and test-recommends, too, for safety's sake. 2011-11-04 03:43:00 -04:00
Kiyoshi Aman
45ad91b880 apkbuild-cpan: Emits runtime recommendations, depends on build recommendations. 2011-11-04 03:36:48 -04:00
Kiyoshi Aman
ef2a421e04 apkbuild-cpan: export CFLAGS so modules using C/XS build properly. 2011-11-03 08:58:48 -04:00
Kiyoshi Aman
178affc406 apkbuild-cpan: 'check' output format changed; exit code 1 on version mismatch 2011-06-28 11:05:04 -04:00
Kiyoshi Aman
b17e7c1d02 apkbuild-cpan: Added 'check' command, which prints latest & packaged versions. 2011-06-28 10:51:07 -04:00
Kiyoshi Aman
014544bc68 apkbuild-cpan: XS modules using Module::Build now obtain Perl CFLAGS properly. 2011-06-28 08:12:05 -04:00
Kiyoshi Aman
f6a74379ad apkbuild-cpan: add detection for perl modules with native code
so we get arch set properly
2011-06-02 14:33:14 +03:00
Timo Teräs
9c8f411ab3 apkbuild-cpan: fix handling of license meta-data
Don't update if it's unknown, and fix the error message.
2011-06-02 13:35:06 +03:00
Timo Teräs
f670c88e53 apkbuild-cpan: new tool superceding newapkbuild-cpan tool
Based on Aerdan's original work, this is a perl utility that
interacts with CPAN which can create and update APKBUILDs with
proper metadata info.
2011-06-02 11:55:00 +03:00