pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-beautifulsoup4 = 4.6.0 (20170507) =



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b0b63508f1c
branches:  trunk
changeset: 362258:7b0b63508f1c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 09 20:05:17 2017 +0000

description:
= 4.6.0 (20170507) =

* Added the `Tag.get_attribute_list` method, which acts like `Tag.get` for
  getting the value of an attribute, but which always returns a list,
  whether or not the attribute is a multi-value attribute.

* It's now possible to use a tag's namespace prefix when searching,
  e.g. soup.find('namespace:tag')

* Improved the handling of empty-element tags like <br> when using the
  html.parser parser.

* HTML parsers treat all HTML4 and HTML5 empty element tags (aka void
  element tags) correctly.

* Namespace prefix is preserved when an XML tag is copied. Thanks
  to Vikas for a patch and test.

diffstat:

 www/py-beautifulsoup4/Makefile |  11 ++++++-----
 www/py-beautifulsoup4/PLIST    |  15 ++++++---------
 www/py-beautifulsoup4/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 19 deletions(-)

diffs (67 lines):

diff -r 068bc3ddc0a7 -r 7b0b63508f1c www/py-beautifulsoup4/Makefile
--- a/www/py-beautifulsoup4/Makefile    Tue May 09 18:58:43 2017 +0000
+++ b/www/py-beautifulsoup4/Makefile    Tue May 09 20:05:17 2017 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2017/02/12 04:01:39 wen Exp $
+# $NetBSD: Makefile,v 1.9 2017/05/09 20:05:17 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.5.3
+DISTNAME=      beautifulsoup4-4.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
-MASTER_SITES=  http://www.crummy.com/software/BeautifulSoup/bs4/download/4.5/
+MASTER_SITES=  http://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/
+MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.crummy.com/software/BeautifulSoup/
@@ -13,7 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 
 do-test:
-       cd ${WRKSRC} &&  ${PYTHONBIN} -m unittest discover -s bs4
+       cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -s bs4
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 068bc3ddc0a7 -r 7b0b63508f1c www/py-beautifulsoup4/PLIST
--- a/www/py-beautifulsoup4/PLIST       Tue May 09 18:58:43 2017 +0000
+++ b/www/py-beautifulsoup4/PLIST       Tue May 09 20:05:17 2017 +0000
@@ -1,15 +1,12 @@
-@comment $NetBSD: PLIST,v 1.4 2017/02/12 04:01:39 wen Exp $
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2017/05/09 20:05:17 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/bs4/__init__.py
 ${PYSITELIB}/bs4/__init__.pyc
 ${PYSITELIB}/bs4/__init__.pyo
-${PYSITELIB}/bs4/1631353.py
-${PYSITELIB}/bs4/1631353.pyc
-${PYSITELIB}/bs4/1631353.pyo
 ${PYSITELIB}/bs4/builder/__init__.py
 ${PYSITELIB}/bs4/builder/__init__.pyc
 ${PYSITELIB}/bs4/builder/__init__.pyo
diff -r 068bc3ddc0a7 -r 7b0b63508f1c www/py-beautifulsoup4/distinfo
--- a/www/py-beautifulsoup4/distinfo    Tue May 09 18:58:43 2017 +0000
+++ b/www/py-beautifulsoup4/distinfo    Tue May 09 20:05:17 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/02/12 04:01:39 wen Exp $
+$NetBSD: distinfo,v 1.6 2017/05/09 20:05:17 adam Exp $
 
-SHA1 (beautifulsoup4-4.5.3.tar.gz) = 1418181249fd9e9a4cd766f733ce111d74eaae53
-RMD160 (beautifulsoup4-4.5.3.tar.gz) = 30f17c4b959f82c2a86bc2043f6c528c9e4eab1a
-SHA512 (beautifulsoup4-4.5.3.tar.gz) = d31db0e3bb778a78c37882fcd55dc580eb5eeadfd48744eae6e2e0d0ef5983b216a4682af84a4971611b05fb99c45012ce094475f2d7c39a5b90dad99906ec84
-Size (beautifulsoup4-4.5.3.tar.gz) = 159185 bytes
+SHA1 (beautifulsoup4-4.6.0.tar.gz) = b9ad167d69b12d342b3ff713b2b6461c3f20e441
+RMD160 (beautifulsoup4-4.6.0.tar.gz) = 6452de577ef676636fb0be79eba9224cafd5622d
+SHA512 (beautifulsoup4-4.6.0.tar.gz) = 1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578
+Size (beautifulsoup4-4.6.0.tar.gz) = 160846 bytes



Home | Main Index | Thread Index | Old Index