Can't respond quickly to this, this is my version, and has been run
through earlier version 1.16 etc, the full update requires complex
p5-Module-Install-xxxx updates
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/p5-Module-Install/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile 9 Jan 2017 11:06:45 -0000 1.25
+++ Makefile 16 Aug 2017 00:14:44 -0000
@@ -4,29 +4,36 @@ COMMENT= standalone extensible Perl modu
MODULES= cpan
PKG_ARCH= *
-DISTNAME= Module-Install-1.08
-REVISION= 3
-CATEGORIES= devel
+DISTNAME= Module-Install-1.18
+CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
-RUN_DEPENDS+= devel/p5-Module-ScanDeps>=1.13 \
- devel/p5-File-Remove \
- devel/p5-PAR-Dist \
- devel/p5-YAML-Tiny>=1.38 \
- converters/p5-JSON
+RUN_DEPENDS= devel/p5-File-Remove>=1.42 \
+ devel/p5-Module-ScanDeps>=1.13 \
+ devel/p5-YAML-Tiny>=1.38
+
+# recommendations only...
+# archivers/p5-Archive-Zip>=1.37 \
+# converters/p5-JSON>=2.90 \
+# devel/p5-PAR-Dist>=0.29 \
+# www/p5-libwww>=6.05
# special case; this is *not* a CONFIGURE_STYLE=modbuild port
RUN_DEPENDS+= devel/p5-Module-Build
+BUILD_DEPENDS += ${RUN_DEPENDS}
-CONFIGURE_ARGS= --skipdeps
+# Needs building as package first so these can be built...
+TEST_DEPENDS += devel/p5-Module-Install-AuthorTests \
+ devel/p5-Module-Install-ExtraTests
-# for the CPAN regression test
-pre-test:
- mkdir -p ${WRKDIR}/home
+# No autoinstall from CPAN...
+CONFIGURE_ARGS= --skipdeps
-PORTHOME= ${WRKDIR}/home
MAKE_ENV= TEST_POD=Yes
+
+post-patch:
+ find ${WRKSRC} -type f -name "*.orig" -exec rm {} +
.include <bsd.port.mk>
Index: distinfo
===================================================================
On 11/03/17 14:47, Alexander Bluhm wrote:
> Hi,
>
> ok to update p5-Module-Install to 1.18?
>
> - added myself as maintainer
> - copied warning that this should not used for new modules into DESCR
> - added recomended modules to run dependencies so that we always
> operate on a fixed set of modules
> - will sort according to Makefile.template later to keep diff small
>
> bluhm
>
> Index: devel/p5-Module-Install/Makefile
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Module-Install/Makefile,v
> retrieving revision 1.25
> diff -u -p -r1.25 Makefile
> --- devel/p5-Module-Install/Makefile 9 Jan 2017 11:06:45 -0000 1.25
> +++ devel/p5-Module-Install/Makefile 3 Nov 2017 14:33:57 -0000
> @@ -4,29 +4,31 @@ COMMENT= standalone extensible Perl modu
>
> MODULES= cpan
> PKG_ARCH= *
> -DISTNAME= Module-Install-1.08
> -REVISION= 3
> +DISTNAME = Module-Install-1.18
> CATEGORIES= devel
>
> +MAINTAINER = Alexander Bluhm <[email protected]>
> +
> # perl
> PERMIT_PACKAGE_CDROM= Yes
>
> -RUN_DEPENDS+= devel/p5-Module-ScanDeps>=1.13 \
> - devel/p5-File-Remove \
> - devel/p5-PAR-Dist \
> - devel/p5-YAML-Tiny>=1.38 \
> - converters/p5-JSON
> +BUILD_DEPENDS = devel/p5-YAML-Tiny>=1.33
> +RUN_DEPENDS = archivers/p5-Archive-Zip>=1.37 \
> + converters/p5-JSON>=2.9 \
> + devel/p5-File-HomeDir>=1 \
> + devel/p5-File-Remove>=1.42 \
> + devel/p5-Module-Build>=0.29 \
> + devel/p5-Module-ScanDeps>=1.09 \
> + devel/p5-PAR-Dist>=0.29 \
> + devel/p5-YAML-Tiny>=1.38 \
> + www/p5-libwww>=6.05
>
> # special case; this is *not* a CONFIGURE_STYLE=modbuild port
> -RUN_DEPENDS+= devel/p5-Module-Build
> -
> -CONFIGURE_ARGS= --skipdeps
>
> # for the CPAN regression test
> pre-test:
> mkdir -p ${WRKDIR}/home
>
> PORTHOME= ${WRKDIR}/home
> -MAKE_ENV= TEST_POD=Yes
>
> .include <bsd.port.mk>
> Index: devel/p5-Module-Install/distinfo
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Module-Install/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- devel/p5-Module-Install/distinfo 19 Mar 2014 09:07:26 -0000 1.7
> +++ devel/p5-Module-Install/distinfo 3 Nov 2017 14:24:49 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Module-Install-1.08.tar.gz) =
> 7YZ4KSkgjmOjVwmtb1Pt054QX8G8t9z8P7c2KvZ7tRQ=
> -SIZE (Module-Install-1.08.tar.gz) = 126800
> +SHA256 (Module-Install-1.18.tar.gz) =
> KQaKwzUCzslZhEwgZRbAnMSoR8tXMn1BAV9gUVPKZF4=
> +SIZE (Module-Install-1.18.tar.gz) = 114751
> Index:
> devel/p5-Module-Install/patches/patch-lib_Module_Install_Admin_Include_pm
> ===================================================================
> RCS file:
> /data/mirror/openbsd/cvs/ports/devel/p5-Module-Install/patches/patch-lib_Module_Install_Admin_Include_pm,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-lib_Module_Install_Admin_Include_pm
> --- devel/p5-Module-Install/patches/patch-lib_Module_Install_Admin_Include_pm
> 9 Jan 2017 11:06:45 -0000 1.3
> +++ devel/p5-Module-Install/patches/patch-lib_Module_Install_Admin_Include_pm
> 3 Nov 2017 14:32:14 -0000
> @@ -1,10 +1,11 @@
> $OpenBSD: patch-lib_Module_Install_Admin_Include_pm,v 1.3 2017/01/09
> 11:06:45 zhuk Exp $
> Fix whatis information.
> ---- lib/Module/Install/Admin/Include.pm.orig Mon Jan 9 13:52:24 2017
> -+++ lib/Module/Install/Admin/Include.pm Mon Jan 9 13:52:44 2017
> +Index: lib/Module/Install/Admin/Include.pm
> +--- lib/Module/Install/Admin/Include.pm.orig
> ++++ lib/Module/Install/Admin/Include.pm
> @@ -61,6 +61,8 @@ sub auto_include_deps {
>
> - Module::Install::Admin::Include
> + Module::Install::Admin::Include - include methods for Module::Install
>
> +=head1 DESCRIPTION
> +
> Index: devel/p5-Module-Install/pkg/DESCR
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Module-Install/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- devel/p5-Module-Install/pkg/DESCR 4 Nov 2006 23:50:21 -0000 1.1.1.1
> +++ devel/p5-Module-Install/pkg/DESCR 3 Nov 2017 14:19:51 -0000
> @@ -1,4 +1,16 @@
> Module::Install is a package for writing installers for CPAN (or
> -CPAN-like) distributions that are clean, simple, minimalist, act in a
> -strictly correct manner with both the ExtUtils::MakeMaker and
> +CPAN-like) distributions that are clean, simple, minimalist, act
> +in a strictly correct manner with both the ExtUtils::MakeMaker and
> Module::Build build systems.
> +
> +Please note that while Module::Install pioneered many great ideas
> +in its time, its primary benefits have been better achieved by the
> +authoring tool Dist::Zilla, and its spinoffs Dist::Milla and Minilla.
> +These tools allow the author to build and maintain distributions
> +with DWIM convenience, while the distribution is installed directly
> +by ExtUtils::MakeMaker or similar installation tools, avoiding the
> +complexity of bundling the installer. Dist::Zilla additionally has
> +a more robust plugin system which makes it easier to keep up with
> +changes to the CPAN::Meta::Spec and add other new functionality.
> +Use of Module::Install for new distributions is therefore discouraged
> +by the maintainers.
>
>