Hi, ports@:

    Here is a patch for databases/py-sqlobject:
    i) Update to 3.11.0
    ii) Add `do-test` 

    It build well and run well and pass all tests on 
amd64-current system.

   Any comments ?


Regards,
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/py-sqlobject/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile    16 Oct 2023 08:35:12 -0000      1.34
+++ Makefile    21 Nov 2023 02:29:46 -0000
@@ -1,6 +1,6 @@
 COMMENT =              ORM (Object Relational Manager) for Python
 
-MODPY_EGG_VERSION =    3.10.2
+MODPY_EGG_VERSION =    3.11.0
 DISTNAME =             SQLObject-${MODPY_EGG_VERSION}
 PKGNAME =              py-sqlobject-${MODPY_EGG_VERSION}
 
@@ -20,5 +20,9 @@ MODPY_PYBUILD =               setuptools
 MODULES =              lang/python
 RUN_DEPENDS =          www/py-formencode${MODPY_FLAVOR} \
                        devel/py-dispatcher${MODPY_FLAVOR}
+TEST_DEPENDS =         devel/py-test${MODPY_FLAVOR}
+
+do-test:
+       cd ${WRKSRC}/sqlobject/tests && ${LOCALBASE}/bin/py.test
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/py-sqlobject/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo    16 Oct 2023 08:35:12 -0000      1.14
+++ distinfo    21 Nov 2023 02:29:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (SQLObject-3.10.2.tar.gz) = dW9IsIdOSnCG3thWhYwIsz0Oa5runnXD84S5ITPH3ww=
-SIZE (SQLObject-3.10.2.tar.gz) = 1318375
+SHA256 (SQLObject-3.11.0.tar.gz) = QrGyrM6e1cxCtF4GxoivXU/Gj2H8VnG7EFcgimLfdng=
+SIZE (SQLObject-3.11.0.tar.gz) = 1327706

Reply via email to