summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-02-19 09:43:56 +0000
committeradam <adam@pkgsrc.org>2019-02-19 09:43:56 +0000
commitf4f0d700c76d9174fb256b19fd707ec981195673 (patch)
tree0f6753489f6c4f9f9f98b3ca1b161a6db437cc72
parentcc9a3cda5112e6a7c9d03ac8138b6660e3cfcbcd (diff)
downloadpkgsrc-f4f0d700c76d9174fb256b19fd707ec981195673.tar.gz
py-soupsieve: updated to 1.8
1.8.0 NEW: Add custom selector support. FIX: Small tweak to CSS identifier pattern to ensure it matches the CSS specification exactly. Specifically, you can't have an identifier of only -. FIX: CSS string patterns should allow escaping newlines to span strings across multiple lines. FIX: Newline regular expression for CSS newlines should treat \r\n as a single character, especially in cases such as string escapes: \\\r\n. FIX: Allow -- as a valid identifier or identifier start. FIX: Bad CSS syntax now raises a SelectorSyntaxError, which is still currently derived from SyntaxError, but will most likely be derived from Exception in the future.
-rw-r--r--www/py-soupsieve/Makefile4
-rw-r--r--www/py-soupsieve/distinfo11
-rw-r--r--www/py-soupsieve/patches/patch-setup.py15
3 files changed, 23 insertions, 7 deletions
diff --git a/www/py-soupsieve/Makefile b/www/py-soupsieve/Makefile
index f203e5be4cb..e1827be9ea5 100644
--- a/www/py-soupsieve/Makefile
+++ b/www/py-soupsieve/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2019/01/24 14:06:49 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/02/19 09:43:56 adam Exp $
-DISTNAME= soupsieve-1.7.3
+DISTNAME= soupsieve-1.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/soupsieve/}
diff --git a/www/py-soupsieve/distinfo b/www/py-soupsieve/distinfo
index 30a3548f6dc..bd9458d7a35 100644
--- a/www/py-soupsieve/distinfo
+++ b/www/py-soupsieve/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2019/01/24 14:06:49 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/02/19 09:43:56 adam Exp $
-SHA1 (soupsieve-1.7.3.tar.gz) = 450d4c227921cbbd578088469c21f939b00ca729
-RMD160 (soupsieve-1.7.3.tar.gz) = 00819dee4f40d9bc1354200b65d91be82ece5663
-SHA512 (soupsieve-1.7.3.tar.gz) = da2e218a4d50ae1b6a746ca859c2ffd277703da08ea1a4bb29e67706b080bfef67e6bf21f5327f75a96fa7cd31dd44c34feaf275dadad5bc4f6499331758aee5
-Size (soupsieve-1.7.3.tar.gz) = 73691 bytes
+SHA1 (soupsieve-1.8.tar.gz) = 9a46a1c6e4a582cb7009efd32830752d1f79d77c
+RMD160 (soupsieve-1.8.tar.gz) = 7dd3b868f13744ca0ccd33c5da0343974a336e5d
+SHA512 (soupsieve-1.8.tar.gz) = abdcbb6a13563e7afadd3056141587fdc3d7d644e346f789bca0a16242d860219e462491b0c624b287300af960fb8e3f85c79f5137580939a9fc8c3d6961478c
+Size (soupsieve-1.8.tar.gz) = 88211 bytes
+SHA1 (patch-setup.py) = 064975ebb17816c90522890ae74c3c66daef26a5
diff --git a/www/py-soupsieve/patches/patch-setup.py b/www/py-soupsieve/patches/patch-setup.py
new file mode 100644
index 00000000000..8e9e86f2f24
--- /dev/null
+++ b/www/py-soupsieve/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2019/02/19 09:43:56 adam Exp $
+
+Exclude all tests.
+
+--- setup.py.orig 2019-02-19 09:37:15.000000000 +0000
++++ setup.py
+@@ -51,7 +51,7 @@ setup(
+ author='Isaac Muse',
+ author_email='Isaac.Muse@gmail.com',
+ url='https://github.com/facelessuser/soupsieve',
+- packages=find_packages(exclude=['tests', 'tools']),
++ packages=find_packages(exclude=['tests', 'tests.*', 'tools']),
+ install_requires=get_requirements(),
+ license='MIT License',
+ classifiers=[