Re: [PATCH] devel/libgit2/py-git2 - pygit2 is now Python3-only

2020-03-18 Thread Raf Czlonka
On Wed, Mar 18, 2020 at 10:23:00PM GMT, Klemens Nanni wrote:
> On Wed, Mar 18, 2020 at 10:08:27PM +, Raf Czlonka wrote:
> > - as per the project name, I removed the hyphen (well, minus)
> > - it is now Python 3.5+
> Changing DESCR changes the package and therefore needs a REVISION bump.

Yes, I wasn't sure about that - perhaps I should've double-checked :^)

> OK kn with that

Updated diff below.

Regards,

Raf

Index: devel/libgit2/py-git2/Makefile
===
RCS file: /cvs/ports/devel/libgit2/py-git2/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- devel/libgit2/py-git2/Makefile  31 Dec 2019 15:32:04 -  1.33
+++ devel/libgit2/py-git2/Makefile  18 Mar 2020 22:49:00 -
@@ -4,7 +4,7 @@ COMMENT=libgit2 bindings in Python
 
 DISTNAME=  pygit2-${MODPY_EGG_VERSION}
 PKGNAME=   ${MODPY_PY_PREFIX}git2-${MODPY_EGG_VERSION}
-REVISION = 0
+REVISION = 1
 
 MODULES=   lang/python
 MODPY_EGG_VERSION= 1.0.1

Index: devel/libgit2/py-git2/pkg/DESCR
===
RCS file: /cvs/ports/devel/libgit2/py-git2/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- devel/libgit2/py-git2/pkg/DESCR 30 Jun 2011 12:07:32 -  1.1.1.1
+++ devel/libgit2/py-git2/pkg/DESCR 18 Mar 2020 22:49:00 -
@@ -1,2 +1,2 @@
-py-git2 is a set of Python 2.5+ bindings to the libgit2 linkable C Git
+pygit2 is a set of Python 3.5+ bindings to the libgit2 linkable C Git
 library.

Index: devel/quirks/files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.904
diff -u -p -r1.904 Quirks.pm
--- devel/quirks/files/Quirks.pm18 Mar 2020 18:11:26 -  1.904
+++ devel/quirks/files/Quirks.pm18 Mar 2020 22:49:49 -
@@ -388,6 +388,7 @@ my $stem_extensions = {
'py-elasticsearch' => 'py3-elasticsearch',
'py-vmomi' => 'py3-vmomi',
'py-nbconvert' => 'py3-nbconvert',
+   'py-git2' => 'py3-git2',
 };
 
 my $obsolete_reason = {



Re: [PATCH] devel/libgit2/py-git2 - pygit2 is now Python3-only

2020-03-18 Thread Klemens Nanni
On Wed, Mar 18, 2020 at 10:08:27PM +, Raf Czlonka wrote:
> - as per the project name, I removed the hyphen (well, minus)
> - it is now Python 3.5+
Changing DESCR changes the package and therefore needs a REVISION bump.

OK kn with that



[PATCH] devel/libgit2/py-git2 - pygit2 is now Python3-only

2020-03-18 Thread Raf Czlonka
Hi all,

A small update to pygit2:

- as per the project name, I removed the hyphen (well, minus)
- it is now Python 3.5+

I have already suggested it in a reply to Remi's email, but including
a diff to quirks just in case.

Regards,

Raf

Index: devel/libgit2/py-git2/pkg/DESCR
===
RCS file: /cvs/ports/devel/libgit2/py-git2/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- devel/libgit2/py-git2/pkg/DESCR 30 Jun 2011 12:07:32 -  1.1.1.1
+++ devel/libgit2/py-git2/pkg/DESCR 18 Mar 2020 21:57:21 -
@@ -1,2 +1,2 @@
-py-git2 is a set of Python 2.5+ bindings to the libgit2 linkable C Git
+pygit2 is a set of Python 3.5+ bindings to the libgit2 linkable C Git
 library.

Index: devel/quirks/Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.886
diff -u -p -r1.886 Makefile
--- devel/quirks/Makefile   18 Mar 2020 18:11:26 -  1.886
+++ devel/quirks/Makefile   18 Mar 2020 22:07:09 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-3.277
+PKGNAME =  quirks-3.278
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks/files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.904
diff -u -p -r1.904 Quirks.pm
--- devel/quirks/files/Quirks.pm18 Mar 2020 18:11:26 -  1.904
+++ devel/quirks/files/Quirks.pm18 Mar 2020 22:07:09 -
@@ -388,6 +388,7 @@ my $stem_extensions = {
'py-elasticsearch' => 'py3-elasticsearch',
'py-vmomi' => 'py3-vmomi',
'py-nbconvert' => 'py3-nbconvert',
+   'py-git2' => 'py3-git2',
 };
 
 my $obsolete_reason = {