On Sun, 2023-11-26 at 16:51 -0500, Daniel Dickman wrote:
> Could TEST_DEPENDS be set for the tests? What do you think?

I tried, and this would require at least one new port for the
quantities package https://pypi.org/project/quantities/. I will port
this as soon as my time permits.  For now, I disabled tests by setting
NO_TEST to Yes.  Attached is a new diff.

Is there any easy way to install all dependencies of a port by means of
pkg_add instead of building them, e.g., when doing make fake?


Index: Makefile
===================================================================
RCS file: /cvs/ports/print/py-pylatex/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile    13 Nov 2022 20:31:00 -0000      1.4
+++ Makefile    27 Nov 2023 08:35:04 -0000
@@ -1,9 +1,8 @@
 COMMENT=               Python interface for LaTeX
 
-MODPY_EGG_VERSION=     1.4.1
+MODPY_EGG_VERSION=     1.4.2
 DISTNAME=              PyLaTeX-${MODPY_EGG_VERSION}
 PKGNAME=               py-pylatex-${MODPY_EGG_VERSION}
-REVISION=              1
 
 CATEGORIES=            print
 
@@ -24,5 +23,10 @@ MODPY_PI=            Yes
 
 RUN_DEPENDS=           devel/py-ordered-set${MODPY_FLAVOR} \
                        print/texlive/texmf,-full
+
+# would require quantities package
+NO_TEST=               Yes
+
+#TEST_DEPENDS=         graphics/py-matplotlib${MODPY_FLAVOR}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/py-pylatex/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    20 Nov 2021 08:20:05 -0000      1.1.1.1
+++ distinfo    27 Nov 2023 08:35:04 -0000
@@ -1,2 +1,2 @@
-SHA256 (PyLaTeX-1.4.1.tar.gz) = 08Eu+4smB3EmBEPc540ekInAn50LkuYnPfygv15zAvs=
-SIZE (PyLaTeX-1.4.1.tar.gz) = 84976
+SHA256 (PyLaTeX-1.4.2.tar.gz) = u3shvsV+zbo/b0TIVuvr32VJ/W6AZhvUT9UJQjZykkI=
+SIZE (PyLaTeX-1.4.2.tar.gz) = 59710
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/print/py-pylatex/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   13 Nov 2022 20:31:00 -0000      1.3
+++ pkg/PLIST   27 Nov 2023 08:35:04 -0000
@@ -1,4 +1,5 @@
 
lib/python${MODPY_VERSION}/site-packages/PyLaTeX-${MODPY_EGG_VERSION}.dist-info/
+lib/python${MODPY_VERSION}/site-packages/PyLaTeX-${MODPY_EGG_VERSION}.dist-info/LICENSE
 
lib/python${MODPY_VERSION}/site-packages/PyLaTeX-${MODPY_EGG_VERSION}.dist-info/METADATA
 
lib/python${MODPY_VERSION}/site-packages/PyLaTeX-${MODPY_EGG_VERSION}.dist-info/RECORD
 
lib/python${MODPY_VERSION}/site-packages/PyLaTeX-${MODPY_EGG_VERSION}.dist-info/WHEEL


> > On Nov 21, 2023, at 2:14 PM, Clemens Gößnitzer
> > <[email protected]> wrote:
> > 
> > The diff below updates print/py-pylatex to the latest version.  
> > Changelog:
> > 
> > - Add `.Chapter` in ``__init__.py``
> > - Fix installation on Python 3.12
> > - Update tooling (use black and isort and remove custom flake8
> > stuff)
> > 
> > I get a warning that description-file in setup.cfg should be named
> > description_file.  I don't know if that would be something to patch
> > away.
> > 
> > Thanks.
> > 
> > 
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/print/py-pylatex/Makefile,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 Makefile
> > --- Makefile    13 Nov 2022 20:31:00 -0000    1.4
> > +++ Makefile    21 Nov 2023 18:40:42 -0000
> > @@ -1,9 +1,8 @@
> > COMMENT=        Python interface for LaTeX
> > 
> > -MODPY_EGG_VERSION=    1.4.1
> > +MODPY_EGG_VERSION=    1.4.2
> > DISTNAME=        PyLaTeX-${MODPY_EGG_VERSION}
> > PKGNAME=        py-pylatex-${MODPY_EGG_VERSION}
> > -REVISION=        1
> > 
> > CATEGORIES=        print
> > 
> > Index: distinfo
> > ===================================================================
> > RCS file: /cvs/ports/print/py-pylatex/distinfo,v
> > retrieving revision 1.1.1.1
> > diff -u -p -r1.1.1.1 distinfo
> > --- distinfo    20 Nov 2021 08:20:05 -0000    1.1.1.1
> > +++ distinfo    21 Nov 2023 18:40:42 -0000
> > @@ -1,2 +1,2 @@
> > -SHA256 (PyLaTeX-1.4.1.tar.gz) =
> > 08Eu+4smB3EmBEPc540ekInAn50LkuYnPfygv15zAvs=
> > -SIZE (PyLaTeX-1.4.1.tar.gz) = 84976
> > +SHA256 (PyLaTeX-1.4.2.tar.gz) =
> > u3shvsV+zbo/b0TIVuvr32VJ/W6AZhvUT9UJQjZykkI=
> > +SIZE (PyLaTeX-1.4.2.tar.gz) = 59710
> > Index: pkg/PLIST
> > ===================================================================
> > RCS file: /cvs/ports/print/py-pylatex/pkg/PLIST,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 PLIST
> > --- pkg/PLIST    13 Nov 2022 20:31:00 -0000    1.3
> > +++ pkg/PLIST    21 Nov 2023 18:40:42 -0000
> > @@ -1,4 +1,5 @@
> > lib/python${MODPY_VERSION}/site-packages/PyLaTeX-
> > ${MODPY_EGG_VERSION}.dist-info/
> > +lib/python${MODPY_VERSION}/site-packages/PyLaTeX-
> > ${MODPY_EGG_VERSION}.dist-info/LICENSE
> > lib/python${MODPY_VERSION}/site-packages/PyLaTeX-
> > ${MODPY_EGG_VERSION}.dist-info/METADATA
> > lib/python${MODPY_VERSION}/site-packages/PyLaTeX-
> > ${MODPY_EGG_VERSION}.dist-info/RECORD
> > lib/python${MODPY_VERSION}/site-packages/PyLaTeX-
> > ${MODPY_EGG_VERSION}.dist-info/WHEEL
> > 

Reply via email to