Re: [update] devel/p5-File-BaseDir 0.03 -> 0.08

2019-05-05 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 12:53:13AM +0200, Charlene Wendling wrote:
> Here is an update for File::BaseDir.
> 
> What's new upstream [0]: 
> 
> - Add IconTheme and UserDir support
> - Various bugs and distribution fixes
> 
> What's new in the port: 
> 
> - Add x11/xdg-user-dirs-gtk to RUN_DEPENDS, required by File::UserDirs
> - Add a patch to silence a warning by testing only {b,}lib (Test::Pod's
>   default). There is no "bin" directory anyway.
> - Remove CPAN_AUTHOR (and this time i've make clean=dist)
> 
> Testing:
> 
> - 'make test' passes
> - There are 2 consumers: devel/p5-File-DesktopEntry and 
>   devel/p5-File-MimeInfo. They pass [1].
> 
> 
> Comments/feedback are welcome! 

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/changes/release/KIMRYAN/File-BaseDir-0.08
> [1] http://0x0.st/zcdY.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/Makefile,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 Makefile
> --- Makefile  20 Mar 2016 19:56:22 -  1.9
> +++ Makefile  3 May 2019 22:45:31 -
> @@ -2,8 +2,7 @@
>  
>  COMMENT= use the freedesktop Base Directory Specification
>  
> -DISTNAME=File-BaseDir-0.03
> -REVISION=0
> +DISTNAME=File-BaseDir-0.08
>  CATEGORIES=  devel
>  
>  # perl
> @@ -13,7 +12,10 @@ MODULES=   cpan
>  PKG_ARCH=*
>  CONFIGURE_STYLE= modbuild
>  
> -CPAN_AUTHOR= PARDUS
> +RUN_DEPENDS= devel/p5-IPC-System-Simple \
> + x11/xdg-user-dirs-gtk
> +
> +TEST_DEPENDS=sysutils/p5-File-Which
>  
>  MAKE_ENV+=   TEST_POD=1
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo  18 Jan 2015 03:13:26 -  1.4
> +++ distinfo  3 May 2019 22:45:31 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-BaseDir-0.03.tar.gz) = 
> ACnLp6O12KpffQPLG3uivPKCk4L38mqjvuBvzoYRqIY=
> -SIZE (File-BaseDir-0.03.tar.gz) = 6065
> +SHA256 (File-BaseDir-0.08.tar.gz) = 
> wGX80+LyKudpk3vMlxuR+AKU1QCfrBQL+6g799NTBeM=
> +SIZE (File-BaseDir-0.08.tar.gz) = 10052
> Index: patches/patch-t_04_pod_ok_t
> ===
> RCS file: patches/patch-t_04_pod_ok_t
> diff -N patches/patch-t_04_pod_ok_t
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-t_04_pod_ok_t   3 May 2019 22:45:31 -
> @@ -0,0 +1,17 @@
> +$OpenBSD$
> +
> +Fix:
> +Can't stat bin: No such file or directory at
> +/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223.
> +
> +We let Test::Pod check in blib or lib instead.
> +
> +Index: t/04_pod_ok.t
> +--- t/04_pod_ok.t.orig
>  t/04_pod_ok.t
> +@@ -1,4 +1,4 @@
> + use Test::More;
> + eval "use Test::Pod 1.00";
> + plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
> +-all_pod_files_ok( Test::Pod::all_pod_files(qw/bin lib/) );
> ++all_pod_files_ok( Test::Pod::all_pod_files() );
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 18 Mar 2007 19:54:45 -  1.1.1.1
> +++ pkg/PLIST 3 May 2019 22:45:31 -
> @@ -1,4 +1,8 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/18 19:54:45 jasper Exp $
>  ${P5SITE}/File/
>  ${P5SITE}/File/BaseDir.pm
> +${P5SITE}/File/IconTheme.pm
> +${P5SITE}/File/UserDirs.pm
>  @man man/man3p/File::BaseDir.3p
> +@man man/man3p/File::IconTheme.3p
> +@man man/man3p/File::UserDirs.3p
> 

-- 
andrew - http://afresh1.com

What are the unsurpassable real world weaknesses in OpenBSD, 
that you know of? 
  -- Kevin Chadwick 
Lots of fake people attacking the project on the mailing lists makes 
them a poor resource for users.
  -- Theo de Raadt 



[update] devel/p5-File-BaseDir 0.03 -> 0.08

2019-05-03 Thread Charlene Wendling
Here is an update for File::BaseDir.

What's new upstream [0]: 

- Add IconTheme and UserDir support
- Various bugs and distribution fixes

What's new in the port: 

- Add x11/xdg-user-dirs-gtk to RUN_DEPENDS, required by File::UserDirs
- Add a patch to silence a warning by testing only {b,}lib (Test::Pod's
  default). There is no "bin" directory anyway.
- Remove CPAN_AUTHOR (and this time i've make clean=dist)

Testing:

- 'make test' passes
- There are 2 consumers: devel/p5-File-DesktopEntry and 
  devel/p5-File-MimeInfo. They pass [1].


Comments/feedback are welcome! 

Charlène.


[0] https://metacpan.org/changes/release/KIMRYAN/File-BaseDir-0.08
[1] http://0x0.st/zcdY.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-BaseDir/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile20 Mar 2016 19:56:22 -  1.9
+++ Makefile3 May 2019 22:45:31 -
@@ -2,8 +2,7 @@
 
 COMMENT=   use the freedesktop Base Directory Specification
 
-DISTNAME=  File-BaseDir-0.03
-REVISION=  0
+DISTNAME=  File-BaseDir-0.08
 CATEGORIES=devel
 
 # perl
@@ -13,7 +12,10 @@ MODULES= cpan
 PKG_ARCH=  *
 CONFIGURE_STYLE=   modbuild
 
-CPAN_AUTHOR=   PARDUS
+RUN_DEPENDS=   devel/p5-IPC-System-Simple \
+   x11/xdg-user-dirs-gtk
+
+TEST_DEPENDS=  sysutils/p5-File-Which
 
 MAKE_ENV+= TEST_POD=1
 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-BaseDir/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo18 Jan 2015 03:13:26 -  1.4
+++ distinfo3 May 2019 22:45:31 -
@@ -1,2 +1,2 @@
-SHA256 (File-BaseDir-0.03.tar.gz) = 
ACnLp6O12KpffQPLG3uivPKCk4L38mqjvuBvzoYRqIY=
-SIZE (File-BaseDir-0.03.tar.gz) = 6065
+SHA256 (File-BaseDir-0.08.tar.gz) = 
wGX80+LyKudpk3vMlxuR+AKU1QCfrBQL+6g799NTBeM=
+SIZE (File-BaseDir-0.08.tar.gz) = 10052
Index: patches/patch-t_04_pod_ok_t
===
RCS file: patches/patch-t_04_pod_ok_t
diff -N patches/patch-t_04_pod_ok_t
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-t_04_pod_ok_t 3 May 2019 22:45:31 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Fix:
+Can't stat bin: No such file or directory at
+/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223.
+
+We let Test::Pod check in blib or lib instead.
+
+Index: t/04_pod_ok.t
+--- t/04_pod_ok.t.orig
 t/04_pod_ok.t
+@@ -1,4 +1,4 @@
+ use Test::More;
+ eval "use Test::Pod 1.00";
+ plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+-all_pod_files_ok( Test::Pod::all_pod_files(qw/bin lib/) );
++all_pod_files_ok( Test::Pod::all_pod_files() );
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/p5-File-BaseDir/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   18 Mar 2007 19:54:45 -  1.1.1.1
+++ pkg/PLIST   3 May 2019 22:45:31 -
@@ -1,4 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/18 19:54:45 jasper Exp $
 ${P5SITE}/File/
 ${P5SITE}/File/BaseDir.pm
+${P5SITE}/File/IconTheme.pm
+${P5SITE}/File/UserDirs.pm
 @man man/man3p/File::BaseDir.3p
+@man man/man3p/File::IconTheme.3p
+@man man/man3p/File::UserDirs.3p



Re: [UPDATE] devel/p5-File-BaseDir 0.03 -> 0.08

2018-09-07 Thread Charlene Wendling
Hi, 

It's still bad, because i haven't read META.yml properly.

I'm sending a fixed version with the new devel/p5-IPC-System-Simple [1]
added as a RUN_DEPENDS, retested in a chroot by not installing
prequisites manually (another lesson learned), it's fine here. 

Sorry for the noise!

Charlène. 

[1] https://marc.info/?l=openbsd-ports&m=153610166506490&w=2



On Fri, 7 Sep 2018 02:22:57 +0200
Charlene Wendling wrote:

> Hi, 
> 
> Oops, now i know why it was still in my Draft folder. I've submitted
> IPC::System::Simple, see here:
> https://marc.info/?l=openbsd-ports&m=153610166506490&w=2
> 
> Charlène. 
> 
> Stuart Henderson wrote:
> > On 2018/09/07 01:22, Charlene Wendling wrote:
> > > Hi, 
> > > 
> > > Here is an update for devel/p5-File-BaseDir, a Perl module that
> > > can be used to find user files and directories according to the
> > > freedesktop.org standard. 
> > > 
> > > What's new upstream (changelog [1])
> > > 
> > > - Upstream CPAN maintainer changed
> > > - Various tests fixes
> > > - Support for IconTheme and UserDirs (~/{Desktop,Downloads,...})
> > > - More dependencies as a result
> > > 
> > > What's new in the port: 
> > > 
> > > - Requires sysutils/p5-File-Which as a BUILD_DEPENDS
> > > 
> > > Testing: 
> > > 
> > > - 'make test' passes.
> > > - Tested the pod examples without any issues 
> > > - There are reverse dependencies, 'make test' passes for those 2,
> > > also played a bit with the modules, it's fine. 
> > >   - (BUILD+RUN)   devel/p5-File-DesktopEntry
> > >   - (RUN) devel/p5-File-MimeInfo 
> > >   
> > > 
> > > Comments/feedbacks are welcome! 
> > > 
> > > Charlène.
> > > 
> > > [1] https://metacpan.org/source/KIMRYAN/File-BaseDir-0.08/Changes
> > 
> > 
> > 
> > This fails here, it wants IPC/System/Simple.pm which we don't have:
> > 
> > | ===>  Configuring for p5-File-BaseDir-0.08
> > | Checking prerequisites...
> > |   requires:
> > | !  IPC::System::Simple is not installed
> > | 
> > | ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install
> > | the versions of the modules indicated above before proceeding with
> > | this installation
> > 
> > ...and then in "make test":
> > 
> > | Can't locate IPC/System/Simple.pm in @INC (you may need to install
> > | the IPC::System::Simple module) (@INC
> > | contains: /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib 
> > /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/arch 
> > /usr/local/libdata/perl5/site_perl/amd64-openbsd 
> > /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd 
> > /usr/libdata/perl5 .)
> > | at 
> > /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib/File/UserDirs.pm
> > | line 4.
> > 
> 


p5-File-BaseDir.diff
Description: Binary data


Re: [UPDATE] devel/p5-File-BaseDir 0.03 -> 0.08

2018-09-06 Thread Charlene Wendling
Hi, 

Oops, now i know why it was still in my Draft folder. I've submitted
IPC::System::Simple, see here:
https://marc.info/?l=openbsd-ports&m=153610166506490&w=2

Charlène. 

Stuart Henderson wrote:
> On 2018/09/07 01:22, Charlene Wendling wrote:
> > Hi, 
> > 
> > Here is an update for devel/p5-File-BaseDir, a Perl module that can
> > be used to find user files and directories according to the
> > freedesktop.org standard. 
> > 
> > What's new upstream (changelog [1])
> > 
> > - Upstream CPAN maintainer changed
> > - Various tests fixes
> > - Support for IconTheme and UserDirs (~/{Desktop,Downloads,...})
> > - More dependencies as a result
> > 
> > What's new in the port: 
> > 
> > - Requires sysutils/p5-File-Which as a BUILD_DEPENDS
> > 
> > Testing: 
> > 
> > - 'make test' passes.
> > - Tested the pod examples without any issues 
> > - There are reverse dependencies, 'make test' passes for those 2,
> > also played a bit with the modules, it's fine. 
> > - (BUILD+RUN)   devel/p5-File-DesktopEntry
> > - (RUN) devel/p5-File-MimeInfo 
> > 
> > 
> > Comments/feedbacks are welcome! 
> > 
> > Charlène.
> > 
> > [1] https://metacpan.org/source/KIMRYAN/File-BaseDir-0.08/Changes
> 
> 
> 
> This fails here, it wants IPC/System/Simple.pm which we don't have:
> 
> | ===>  Configuring for p5-File-BaseDir-0.08
> | Checking prerequisites...
> |   requires:
> | !  IPC::System::Simple is not installed
> | 
> | ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install
> | the versions of the modules indicated above before proceeding with
> | this installation
> 
> ...and then in "make test":
> 
> | Can't locate IPC/System/Simple.pm in @INC (you may need to install
> | the IPC::System::Simple module) (@INC
> | contains: /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib 
> /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/arch 
> /usr/local/libdata/perl5/site_perl/amd64-openbsd 
> /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd 
> /usr/libdata/perl5 .)
> | at 
> /usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib/File/UserDirs.pm
> | line 4.
> 



Re: [UPDATE] devel/p5-File-BaseDir 0.03 -> 0.08

2018-09-06 Thread Stuart Henderson
On 2018/09/07 01:22, Charlene Wendling wrote:
> Hi, 
> 
> Here is an update for devel/p5-File-BaseDir, a Perl module that can be
> used to find user files and directories according to the freedesktop.org
> standard. 
> 
> What's new upstream (changelog [1])
> 
> - Upstream CPAN maintainer changed
> - Various tests fixes
> - Support for IconTheme and UserDirs (~/{Desktop,Downloads,...})
> - More dependencies as a result
> 
> What's new in the port: 
> 
> - Requires sysutils/p5-File-Which as a BUILD_DEPENDS
> 
> Testing: 
> 
> - 'make test' passes.
> - Tested the pod examples without any issues 
> - There are reverse dependencies, 'make test' passes for those 2, also
> played a bit with the modules, it's fine. 
>   - (BUILD+RUN)   devel/p5-File-DesktopEntry
>   - (RUN) devel/p5-File-MimeInfo 
>   
> 
> Comments/feedbacks are welcome! 
> 
> Charlène.
> 
> [1] https://metacpan.org/source/KIMRYAN/File-BaseDir-0.08/Changes



This fails here, it wants IPC/System/Simple.pm which we don't have:

| ===>  Configuring for p5-File-BaseDir-0.08
| Checking prerequisites...
|   requires:
| !  IPC::System::Simple is not installed
| 
| ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
| of the modules indicated above before proceeding with this installation

...and then in "make test":

| Can't locate IPC/System/Simple.pm in @INC (you may need to install the 
IPC::System::Simple module) (@INC contains: 
/usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib 
/usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/arch 
/usr/local/libdata/perl5/site_perl/amd64-openbsd 
/usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd 
/usr/libdata/perl5 .) at 
/usr/obj/ports/p5-File-BaseDir-0.08/File-BaseDir-0.08/blib/lib/File/UserDirs.pm 
line 4.



[UPDATE] devel/p5-File-BaseDir 0.03 -> 0.08

2018-09-06 Thread Charlene Wendling
Hi, 

Here is an update for devel/p5-File-BaseDir, a Perl module that can be
used to find user files and directories according to the freedesktop.org
standard. 

What's new upstream (changelog [1])

- Upstream CPAN maintainer changed
- Various tests fixes
- Support for IconTheme and UserDirs (~/{Desktop,Downloads,...})
- More dependencies as a result

What's new in the port: 

- Requires sysutils/p5-File-Which as a BUILD_DEPENDS

Testing: 

- 'make test' passes.
- Tested the pod examples without any issues 
- There are reverse dependencies, 'make test' passes for those 2, also
played a bit with the modules, it's fine. 
- (BUILD+RUN)   devel/p5-File-DesktopEntry
- (RUN) devel/p5-File-MimeInfo 


Comments/feedbacks are welcome! 

Charlène.

[1] https://metacpan.org/source/KIMRYAN/File-BaseDir-0.08/Changes


p5-File-BaseDir.diff
Description: Binary data