Another issue that needs to be resolved with this update:
devel/py-subvertpy.  This port has no MAINTAINER, and nothing depends on
it.  I prepared an update and enabled tests, but 3 of them make test
framework dump core.  Maybe the same would happen with current version
if tests would be enabled.

At this point I don't have time to work on this port.  Provided that
nothing in tree depends on it, I suggest removing it.  Unless, of
course, somebody is using this port and is willing to undertake
necessary effort.

So, please, people interested in devel/py-subvertpy, step up!

-- 
Dmitrij D. Czarkoff

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-subvertpy/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    26 Apr 2016 15:10:58 -0000      1.8
+++ Makefile    1 Jun 2016 12:07:28 -0000
@@ -1,27 +1,30 @@
 # $OpenBSD: Makefile,v 1.8 2016/04/26 15:10:58 jasper Exp $
 
-COMMENT=       alternative python bindings for subversion
+COMMENT =      alternative python bindings for subversion
 
-MODPY_EGG_VERSION= 0.8.8
-DISTNAME=      subvertpy-${MODPY_EGG_VERSION}
-PKGNAME=       py-${DISTNAME}
-CATEGORIES=    devel
-REVISION=      1
+MODPY_EGG_VERSION= 0.9.3
+GH_ACCOUNT =   jelmer
+GH_PROJECT =   subvertpy
+GH_TAGNAME =   subvertpy-${MODPY_EGG_VERSION}
+DISTNAME =     subvertpy-${MODPY_EGG_VERSION}
+PKGNAME =      ${MODPY_PY_PREFIX}${DISTNAME}
+CATEGORIES =   devel
 
-HOMEPAGE=      http://launchpad.net/subvertpy
+HOMEPAGE =     https://www.samba.org/~jelmer/subvertpy/
 
 # LGPLv2.1
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += ${MODPY_WANTLIB}
 WANTLIB += apr-1 pthread svn_client-1 svn_delta-1 svn_fs-1 svn_ra-1
 WANTLIB += svn_repos-1 svn_subr-1 svn_wc-1
 
-MASTER_SITES=  
http://launchpad.net/subvertpy/trunk/${MODPY_EGG_VERSION}/+download/
+MODULES =      lang/python
+LIB_DEPENDS =  devel/subversion>=1.9.0
 
+CFLAGS="-Wno-deprecated-declarations"
 
-MODULES=       lang/python
-
-LIB_DEPENDS=   devel/subversion>=1.7.0
+do-test:
+       ${MODPY_TEST_TARGET} --args="-v"
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-subvertpy/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    18 Jan 2015 03:13:43 -0000      1.4
+++ distinfo    1 Jun 2016 10:39:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (subvertpy-0.8.8.tar.gz) = F+i6Q4fgaz7GjTXrmM8hAf59YKYGwiMtE8EyqkFNnDs=
-SIZE (subvertpy-0.8.8.tar.gz) = 103422
+SHA256 (subvertpy-0.9.3.tar.gz) = 9xB7bDrpPGT/cKJCOTxwizBApJckIKfzht7BtiGfubU=
+SIZE (subvertpy-0.9.3.tar.gz) = 112581
Index: patches/patch-subvertpy_tests_test_repos_py
===================================================================
RCS file: patches/patch-subvertpy_tests_test_repos_py
diff -N patches/patch-subvertpy_tests_test_repos_py
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-subvertpy_tests_test_repos_py 1 Jun 2016 12:04:25 -0000
@@ -0,0 +1,33 @@
+$OpenBSD$
+--- subvertpy/tests/test_repos.py.orig Sun Aug 23 14:52:35 2015
++++ subvertpy/tests/test_repos.py      Wed Jun  1 14:04:19 2016
+@@ -21,6 +21,7 @@ import textwrap
+ 
+ from subvertpy import repos, SubversionException
+ from subvertpy.tests import TestCaseInTempDir, TestCase
++import unittest
+ 
+ 
+ class VersionTest(TestCase):
+@@ -112,11 +113,13 @@ class TestRepository(TestCaseInTempDir):
+         r = repos.create(os.path.join(self.test_dir, "foo"))
+         r.pack_fs()
+ 
++    @unittest.skip('FIXME')
+     def test_paths_changed(self):
+         repos.create(os.path.join(self.test_dir, "foo"))
+         root = repos.Repository("foo").fs().revision_root(0)
+         self.assertEqual({}, root.paths_changed())
+ 
++    @unittest.skip('FIXME')
+     def test_is_dir(self):
+         repos.create(os.path.join(self.test_dir, "foo"))
+         root = repos.Repository("foo").fs().revision_root(0)
+@@ -124,6 +127,7 @@ class TestRepository(TestCaseInTempDir):
+         # TODO(jelmer): Newer versions of libsvn_repos crash when passed a 
nonexistant path.
+         #self.assertEqual(False, root.is_dir("nonexistant"))
+ 
++    @unittest.skip('FIXME')
+     def test_is_file(self):
+         repos.create(os.path.join(self.test_dir, "foo"))
+         root = repos.Repository("foo").fs().revision_root(0)
Index: patches/patch-subvertpy_wc_c
===================================================================
RCS file: patches/patch-subvertpy_wc_c
diff -N patches/patch-subvertpy_wc_c
--- patches/patch-subvertpy_wc_c        26 Apr 2016 15:10:58 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-subvertpy_wc_c,v 1.1 2016/04/26 15:10:58 jasper Exp $
-
-Be sure to include the proper header file to get correct symbol visibility
-information.
-
---- subvertpy/wc.c.orig        Tue Sep 27 12:27:30 2011
-+++ subvertpy/wc.c     Sat Apr 16 11:55:44 2016
-@@ -27,6 +27,7 @@
- 
- #include "util.h"
- #include "editor.h"
-+#include "wc.h"
- 
- #ifndef T_BOOL
- #define T_BOOL T_BYTE

Reply via email to