Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 17:59:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526273 - in head/graphics: . py-PyX py-pyx
Message-ID:  <202002161759.01GHxokC001927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 16 17:59:50 2020
New Revision: 526273
URL: https://svnweb.freebsd.org/changeset/ports/526273

Log:
  Move graphics/py-PyX to graphics/py-pyx
  
  - Convert to options target helper
  - Update pkg-descr
  - Update WWW
  - Take maintainership

Added:
  head/graphics/py-pyx/
     - copied from r526272, head/graphics/py-PyX/
Deleted:
  head/graphics/py-PyX/
Modified:
  head/graphics/Makefile
  head/graphics/py-pyx/Makefile
  head/graphics/py-pyx/pkg-descr

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Feb 16 17:23:01 2020	(r526272)
+++ head/graphics/Makefile	Sun Feb 16 17:59:50 2020	(r526273)
@@ -780,7 +780,6 @@
     SUBDIR += py-OWSLib
     SUBDIR += py-PyOpenGL
     SUBDIR += py-PyOpenGL-accelerate
-    SUBDIR += py-PyX
     SUBDIR += py-actdiag
     SUBDIR += py-blockdiag
     SUBDIR += py-blockdiagcontrib-cisco
@@ -857,6 +856,7 @@
     SUBDIR += py-pyrsgis
     SUBDIR += py-python-poppler-qt5
     SUBDIR += py-pyvips
+    SUBDIR += py-pyx
     SUBDIR += py-qt5-svg
     SUBDIR += py-rawkit
     SUBDIR += py-sane

Modified: head/graphics/py-pyx/Makefile
==============================================================================
--- head/graphics/py-PyX/Makefile	Sun Feb 16 17:23:01 2020	(r526272)
+++ head/graphics/py-pyx/Makefile	Sun Feb 16 17:59:50 2020	(r526273)
@@ -1,38 +1,35 @@
 # Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	PyX
+PORTNAME=	pyx
 PORTVERSION=	0.14.1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	PyX-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python package for creating encapsulated PostScript figures
 
 LICENSE=	GPLv2
 
 USES=		python:3.4+
-USE_TEX=	latex:build
 USE_PYTHON=	autoplist distutils
+USE_TEX=	latex:build
 
-OPTIONS_DEFINE=		T1CODE KPATHSEA
-OPTIONS_DEFAULT=	T1CODE KPATHSEA
-T1CODE_DESC=		Fast t1 font encoding/decoding
-KPATHSEA_DESC=		Python wrapper around kpathsea
+OPTIONS_DEFINE=	KPATHSEA T1CODE
+OPTIONS_DEFAULT=KPATHSEA T1CODE
+KPATHSEA_DESC=	Python wrapper around kpathsea
+T1CODE_DESC=	Fast t1 font encoding/decoding
 
-T1CODE_CFLAGS=		-I${LOCALBASE}/include
 KPATHSEA_CFLAGS=	-I${LOCALBASE}/include
 KPATHSEA_LDFLAGS=	-L${LOCALBASE}/lib
+T1CODE_CFLAGS=		-I${LOCALBASE}/include
 
-.include <bsd.port.options.mk>
+post-patch-KPATHSEA-on:
+	@${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg
 
-post-patch:
-.if ${PORT_OPTIONS:MT1CODE}
+post-patch-T1CODE-on:
 	@${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg
-.endif
-.if ${PORT_OPTIONS:MKPATHSEA}
-	@${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg
-.endif
 
 .include <bsd.port.mk>

Modified: head/graphics/py-pyx/pkg-descr
==============================================================================
--- head/graphics/py-PyX/pkg-descr	Sun Feb 16 17:23:01 2020	(r526272)
+++ head/graphics/py-pyx/pkg-descr	Sun Feb 16 17:59:50 2020	(r526273)
@@ -1,17 +1,17 @@
-PyX is a Python package for the creation of encapsulated PostScript figures.
-It provides both an abstraction of PostScript and a TeX/LaTeX interface.
-Complex tasks like 2d and 3d plots in publication-ready quality are built out
-of these primitives.
+PyX is a Python package for the creation of PostScript, PDF, and SVG files. It
+combines an abstraction of the PostScript drawing model with a TeX/LaTeX
+interface. Complex tasks like 2d and 3d plots in publication-ready quality are
+built out of these primitives.
 
-Features
-   * PostScript output for device independent, free scalable figures
-   * seamless TeX/LaTeX integration
-   * full access to PostScript features like paths, linestyles, fill patterns,
-     transformations, clipping, etc.
-   * advanced geometric operations on paths like intersections, transformations,
-     splitting, etc.
-   * sophisticated graph generation: modular design, pluggable axes, axes
-     partitioning based on rational number arithmetics, flexible graph styles,
-     etc.
+Features:
+- PostScript, PDF, and SVG output for device independent, freely scalable
+  figures
+- seamless TeX/LaTeX integration
+- full access to PostScript features like paths, linestyles, fill patterns,
+  transformations, clipping, bitmap inclusion, etc.
+- advanced geometric operations on paths like intersections, transformations,
+  splitting, smoothing, etc.
+- sophisticated graph generation: modular design, pluggable axes, axes
+  partitioning based on rational number arithmetics, flexible graph styles, etc.
 
-WWW: http://pyx.sourceforge.net/
+WWW: https://pyx-project.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002161759.01GHxokC001927>