forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update textproc/py-cssutils to 1.0.2
pkgsrc changes: - Use REPLACE_PYTHON instead of REPLACE_INTERPRETER (no functional changes intended) - Use ALTERNATIVE and instruct PLIST and Makefile post-install target accordingly to permit coexistence of multi-pkgs py-cssutils Changes: 1.0.2 170304 ------------ - FIXED issue #61: Nesting of `@media` rules - FIXED issue #51 and #56: Slow font-family regex - FIXED issue #68: failing tests on Python 3 - FIXED issue #69: our DOM implementation now delegates unsupported methods - FIXED issue #72: importing now faster since regexes are no longer pre-cached on import time 1.0.1 151008 ------------ - Fixed Python 3.5 compatibility
- Loading branch information
leot
committed
Apr 14, 2017
1 parent
d4a4bfe
commit f8017cc
Showing
4 changed files
with
80 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bin/csscapture @PREFIX@/bin/csscapture-@PYVERSSUFFIX@ | ||
bin/csscombine @PREFIX@/bin/csscombine-@PYVERSSUFFIX@ | ||
bin/cssparse @PREFIX@/bin/cssparse-@PYVERSSUFFIX@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
# $NetBSD: Makefile,v 1.11 2016/06/08 17:43:40 wiz Exp $ | ||
# $NetBSD: Makefile,v 1.12 2017/04/14 13:06:49 leot Exp $ | ||
|
||
DISTNAME= cssutils-1.0 | ||
DISTNAME= cssutils-1.0.2 | ||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | ||
CATEGORIES= textproc python | ||
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cssutils/} | ||
EXTRACT_SUFX= .zip | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= http://cthedot.de/cssutils/ | ||
COMMENT= Cascading Style Sheets parser and library for Python | ||
LICENSE= gnu-lgpl-v3 | ||
|
||
USE_LANGUAGES= #none | ||
USE_LANGUAGES= # none | ||
|
||
REPLACE_INTERPRETER+= python | ||
REPLACE.python.old= /usr/bin/env python | ||
REPLACE.python.new= ${PYTHONBIN} | ||
REPLACE_FILES.python= src/cssutils/*.py | ||
REPLACE_FILES.python+= src/cssutils/scripts/*.py | ||
REPLACE_PYTHON+= src/cssutils/*.py src/cssutils/scripts/*.py | ||
|
||
# all files are group/others writable. | ||
post-extract: | ||
chmod -R go-w ${WRKSRC} | ||
|
||
post-install: | ||
${MV} ${DESTDIR}${PREFIX}/bin/csscapture ${DESTDIR}${PREFIX}/bin/csscapture-${PYVERSSUFFIX} || ${TRUE} | ||
${MV} ${DESTDIR}${PREFIX}/bin/csscombine ${DESTDIR}${PREFIX}/bin/csscombine-${PYVERSSUFFIX} || ${TRUE} | ||
${MV} ${DESTDIR}${PREFIX}/bin/cssparse ${DESTDIR}${PREFIX}/bin/cssparse-${PYVERSSUFFIX} || ${TRUE} | ||
|
||
.include "../../lang/python/application.mk" | ||
.include "../../lang/python/egg.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$NetBSD: distinfo,v 1.5 2015/11/04 02:00:02 agc Exp $ | ||
$NetBSD: distinfo,v 1.6 2017/04/14 13:06:49 leot Exp $ | ||
|
||
SHA1 (cssutils-1.0.zip) = 341e57dbb02b699745b13a9a3296634209d26169 | ||
RMD160 (cssutils-1.0.zip) = 16efd2eca89977a98fb0edb01e17ed5233b43f2e | ||
SHA512 (cssutils-1.0.zip) = fac2e46edece73fac66a741c7226b7a1ed9ef58d4a621e60a5b7ecd96dc74c5121969f007bd80a6dddea06a811dbc85b3691940cefc7a5b887fc458febb974e8 | ||
Size (cssutils-1.0.zip) = 434178 bytes | ||
SHA1 (cssutils-1.0.2.tar.gz) = cd940e8b16a603f319763cf9144baa34380d4599 | ||
RMD160 (cssutils-1.0.2.tar.gz) = ca6af81a4bc73354056a78f0a5644371bd8fa199 | ||
SHA512 (cssutils-1.0.2.tar.gz) = 4988893875a03923d3127e334654799e5c2ebcdc0a7f5b3fb5c9ab27d1b331caa5bf197161312a298531e0757843aa3259ceba5fa19947353eea24a5da53ceda | ||
Size (cssutils-1.0.2.tar.gz) = 367038 bytes |