pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-scour graphics/py-scour: add new package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2369f6eafcd2
branches:  trunk
changeset: 456059:2369f6eafcd2
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sun Jul 18 18:06:39 2021 +0000

description:
graphics/py-scour: add new package

Scour is an SVG optimizer/cleaner written in Python that reduces the
size of scalable vector graphics by optimizing structure and removing
unnecessary data. It can be used to create streamlined vector graphics
suitable for web deployment, publishing/sharing, or further processing.

Packaged in wip by K.I.A. Derouiche, imported mostly verbatim.

diffstat:

 graphics/py-scour/DESCR    |   9 +++++++++
 graphics/py-scour/Makefile |  18 ++++++++++++++++++
 graphics/py-scour/PLIST    |  24 ++++++++++++++++++++++++
 graphics/py-scour/distinfo |   6 ++++++
 4 files changed, 57 insertions(+), 0 deletions(-)

diffs (73 lines):

diff -r ce52da25067a -r 2369f6eafcd2 graphics/py-scour/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-scour/DESCR   Sun Jul 18 18:06:39 2021 +0000
@@ -0,0 +1,9 @@
+Scour is an SVG optimizer/cleaner written in Python that reduces the
+size of scalable vector graphics by optimizing structure and removing
+unnecessary data. It can be used to create streamlined vector graphics
+suitable for web deployment, publishing/sharing, or further processing.
+
+The goal of Scour is to output a file that renders identically at a
+fraction of the size by removing a lot of redundant information created
+by most SVG editors. Optimization options are typically lossless but
+can be tweaked for more aggressive cleaning.
diff -r ce52da25067a -r 2369f6eafcd2 graphics/py-scour/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-scour/Makefile        Sun Jul 18 18:06:39 2021 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2021/07/18 18:06:39 gutteridge Exp $
+
+DISTNAME=      scour-0.38.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    graphics python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scour/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/scour-project/scour
+COMMENT=       Scour SVG Optimizer
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.15.0:../../lang/py-six
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ce52da25067a -r 2369f6eafcd2 graphics/py-scour/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-scour/PLIST   Sun Jul 18 18:06:39 2021 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/18 18:06:39 gutteridge Exp $
+bin/scour
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/scour/__init__.py
+${PYSITELIB}/scour/__init__.pyc
+${PYSITELIB}/scour/__init__.pyo
+${PYSITELIB}/scour/scour.py
+${PYSITELIB}/scour/scour.pyc
+${PYSITELIB}/scour/scour.pyo
+${PYSITELIB}/scour/svg_regex.py
+${PYSITELIB}/scour/svg_regex.pyc
+${PYSITELIB}/scour/svg_regex.pyo
+${PYSITELIB}/scour/svg_transform.py
+${PYSITELIB}/scour/svg_transform.pyc
+${PYSITELIB}/scour/svg_transform.pyo
+${PYSITELIB}/scour/yocto_css.py
+${PYSITELIB}/scour/yocto_css.pyc
+${PYSITELIB}/scour/yocto_css.pyo
diff -r ce52da25067a -r 2369f6eafcd2 graphics/py-scour/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-scour/distinfo        Sun Jul 18 18:06:39 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/18 18:06:39 gutteridge Exp $
+
+SHA1 (scour-0.38.2.tar.gz) = 9b48c246ce13dea640ab6beca810797182f26591
+RMD160 (scour-0.38.2.tar.gz) = 138e33fb4a0ce7add2bff0804484fa0bf5879680
+SHA512 (scour-0.38.2.tar.gz) = d4aec9d95f1ef706182f0da8ce1c6314174ef00cfa3276255dac55cf23f9f707ed372494f8f800a69247e82e3db476f7781816c4a9126c142e2cfffdc679e094
+Size (scour-0.38.2.tar.gz) = 52947 bytes



Home | Main Index | Thread Index | Old Index