Commit Graph

59 Commits

Author SHA1 Message Date
Timothy Legge
e0e6ee0d14 apkbuild-cpan.in: prevent inserting extra new line before checksum on upgrade 2021-06-10 14:31:02 +00:00
Timothy Legge
fbd28a76f0 apkbuild-cpan.in: don't change arch on an upgrade of package 2021-06-10 14:31:02 +00:00
Timothy Legge
474edd8fd9 Fix issue with incorrectly inserted newline 2021-06-10 14:31:02 +00:00
Timothy Legge
3af74788bb apkbuild-cpan.in: package sort order on upgrade 2021-04-04 00:27:34 -03:00
Timothy Legge
775efcf61d apkbuild-cpan.in: fix formatting issue on upgrade 2021-04-04 00:25:47 -03:00
Timothy Legge
b699730091 apkbuild-cpan.in: Fixes #9994 mod version with non-numeric 2021-02-16 02:28:04 +00:00
Timothy Legge
802822f57e apkbuild-cpan.in fix format_deps issues 2021-02-16 02:27:57 +00:00
Timothy Legge
8cbd4a6ac2 apkbuild-cpan.in: Fixes #10010 - might create duplicate perl-module-build deps 2021-02-15 02:29:00 +00:00
Timothy Legge
b7196278b1 apkbuild-cpan.in: Fixes #10025 - invalid 'Duplicate' removed 2021-02-15 01:21:18 +00:00
Timothy Legge
c1dadac7d3 apkbuild-cpan.in: only wrap lines greater than set 2021-01-07 14:06:35 +00:00
Timothy Legge
4544a479d1 apkbuild-cpan.in: remove duplicates from each of depends 2021-01-07 14:06:35 +00:00
Timothy Legge
3129c7bcdb apkbuild-cpan.in: format depends indent and wrap 2021-01-07 14:06:35 +00:00
Timothy Legge
9dde1e73e2 Add license_mapping for Apache-2.0 2021-01-07 14:06:35 +00:00
Timothy Legge
bda2774811 apkbuild-cpan.in: add gpl_2 license_mapping 2020-09-17 22:03:47 +00:00
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