[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v2 10/17] gnu: Add python-beautifulsoup4-4.8.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v2 10/17] gnu: Add python-beautifulsoup4-4.8. |
Date: |
Tue, 9 Aug 2022 19:13:25 +0200 |
* gnu/packages/python-xyz.scm (python-beautifulsoup4-4.8): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3b1da69ac..bb8552f248 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9390,6 +9390,39 @@ (define-public python-beautifulsoup4
converts incoming documents to Unicode and outgoing documents to UTF-8.")
(license license:expat)))
+(define-public python-beautifulsoup4-4.8
+ (package
+ (inherit python-beautifulsoup4)
+ (name "python-beautifulsoup4")
+ (version "4.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://www.crummy.com/software/BeautifulSoup/bs4/download/"
+ "4.8/beautifulsoup4-" version ".tar.gz"))
+ (sha256
+ (base32 "0aj6ll0zpmm32g3919xxclwincacdr6dymkscmvhha8wn1g85z85"))))
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; The Python 2 source is the definitive source of beautifulsoup4. We
+ ;; must use this conversion script when building with Python 3. The
+ ;; conversion script also runs the tests.
+ ;; For more information, see the file 'convert-py3k' in the source
+ ;; distribution.
+ (add-before 'build 'convert-py3k
+ (lambda _
+ (substitute* "convert-py3k"
+ (("\\(cd py3k && python3 -m unittest discover -s bs4\\)") ""))
+ (invoke "./convert-py3k")
+ (delete-file-recursively "bs4")
+ (mkdir-p "bs4")
+ (copy-recursively "py3k/bs4" "bs4")
+ (substitute* "setup.py"
+ (("use_2to3 = True,") "")))))))))
+
(define-public python-soupsieve
(package
(name "python-soupsieve")
--
2.37.1
- [bug#55474] [PATCH v2 01/17] gnu: python-django-taggit: Update to 2.1.0., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 02/17] gnu: python-django-filter: Update to 21.1., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 08/17] gnu: Add python-django-environ., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 03/17] gnu: Add python-django-modelcluster., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 04/17] gnu: Add python-django-treebeard., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 07/17] gnu: Add python-django-request., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 09/17] gnu: Add python-psycopg2-2.8., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 05/17] gnu: Add python-jinjalint., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 06/17] gnu: Add python-willow., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 10/17] gnu: Add python-beautifulsoup4-4.8.,
Nicolas Graves <=
- [bug#55474] [PATCH v2 12/17] gnu: Add python-l18n., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 11/17] gnu: Add python-draftjs-exporter., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 13/17] gnu: Add python-parsy., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 14/17] gnu: Add python-anyascii., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 17/17] gnu: Add python-wagtail-localize., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 16/17] gnu: Add python-wagtail., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 15/17] gnu: Add python-telepath., Nicolas Graves, 2022/08/09