Import scour-0.32

Scour is an open-source Python script that aggressively cleans SVG files,
removing a lot of 'cruft' that certain tools or authors embed into their
documents. The goal of scour is to provide an identically rendered image
(i.e. a scoured document should have no discernable visible differences
from the original file).

OK juanfra@
This commit is contained in:
czarkoff 2016-01-20 00:04:52 +00:00
parent 3789d6ebe3
commit 24f33d2665
4 changed files with 50 additions and 0 deletions

22
graphics/scour/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/01/20 00:04:52 czarkoff Exp $
COMMENT = SVG scrubber
MODPY_EGG_VERSION = 0.32
CATEGORIES = graphics
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
HOMEPAGE = http://www.codedread.com/scour/
PERMIT_PACKAGE_CDROM = Yes
GH_ACCOUNT = codedread
GH_PROJECT = scour
GH_TAGNAME = v${MODPY_EGG_VERSION}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
do-test:
@cd ${WRKDIST} && ${MODPY_BIN} testscour.py
@cd ${WRKDIST} && ${MODPY_BIN} testcss.py
.include <bsd.port.mk>

2
graphics/scour/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (scour-0.32.tar.gz) = xAEE7AISDtAs4tfXbVgpyxegbj+nb7GbT+lYwM9AOVI=
SIZE (scour-0.32.tar.gz) = 66672

5
graphics/scour/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Scour is an open-source Python script that aggressively cleans SVG files,
removing a lot of 'cruft' that certain tools or authors embed into their
documents. The goal of scour is to provide an identically rendered image
(i.e. a scoured document should have no discernable visible differences
from the original file).

21
graphics/scour/pkg/PLIST Normal file
View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/20 00:04:52 czarkoff Exp $
bin/scour
lib/python${MODPY_VERSION}/site-packages/scour/
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/scour/__init__.py
lib/python${MODPY_VERSION}/site-packages/scour/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/scour/scour.py
lib/python${MODPY_VERSION}/site-packages/scour/scour.pyc
lib/python${MODPY_VERSION}/site-packages/scour/svg_regex.py
lib/python${MODPY_VERSION}/site-packages/scour/svg_regex.pyc
lib/python${MODPY_VERSION}/site-packages/scour/svg_transform.py
lib/python${MODPY_VERSION}/site-packages/scour/svg_transform.pyc
lib/python${MODPY_VERSION}/site-packages/scour/yocto_css.py
lib/python${MODPY_VERSION}/site-packages/scour/yocto_css.pyc