Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (3e007197931cf0546006e4bca2ab7afca5f7d477)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (3e007197931cf0546006e4bca2ab7afca5f7d477)
  • Date: Thu, 23 Sep 2021 09:47:53 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog
| 4
python-pypi/lektor/DEPENDS
| 1
python-pypi/lektor/DETAILS
| 7 -
python-pypi/lektor/HISTORY
| 6 +

python-pypi/lektor/patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch
| 58 ----------
python-pypi/python-charset-normalizer/DEPENDS
| 1
python-pypi/python-charset-normalizer/DETAILS
| 18 +++
python-pypi/python-charset-normalizer/HISTORY
| 2
8 files changed, 35 insertions(+), 62 deletions(-)

New commits:
commit 3e007197931cf0546006e4bca2ab7afca5f7d477
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

lektor 3.2.2

commit 86db6b6837262de1de7837e610ca970363c84f10
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

python-charset-normalizer: new spell, Package for encoding and language
detection

diff --git a/ChangeLog b/ChangeLog
index c945969..d0c8d00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-09-23 Ismael Luceno <ismael AT sourcemage.org>
+ * python-pypi/python-charset-normalizer: new spell, Package for
+ encoding and language detection
+
2021-09-18 Ismael Luceno <ismael AT sourcemage.org>
* utils/netbsd-gencat: new spell, gencat implementation from NetBSD
* windowmanagers/cde: new spell, The Common Desktop Environment
diff --git a/python-pypi/lektor/DEPENDS b/python-pypi/lektor/DEPENDS
index 368e810..16ad6e0 100755
--- a/python-pypi/lektor/DEPENDS
+++ b/python-pypi/lektor/DEPENDS
@@ -4,6 +4,7 @@ vdepends <<EOF
click >= 6.0
jinja2
pathtools
+ python-charset-normalizer
python-exifread
python-filetype
python-flask
diff --git a/python-pypi/lektor/DETAILS b/python-pypi/lektor/DETAILS
index da3673f..9b2a9e9 100755
--- a/python-pypi/lektor/DETAILS
+++ b/python-pypi/lektor/DETAILS
@@ -1,9 +1,8 @@
SPELL=lektor
- VERSION=3.2.0
- PATCHLEVEL=1
+ VERSION=3.2.2
SOURCE="$SPELL-$VERSION.tar.gz"
-
SOURCE_URL[0]=https://github.com/$SPELL/$SPELL/archive/refs/tags/$VERSION.tar.gz
-
SOURCE_HASH=sha512:c81914c7a2938132e3ad1d98ef436c57359c676af0f25d80ea691d69bbf8ee5b5f4273cefecac3103d16978c166a2e2f83dd8d31e24789596582d58b486c11ee
+
SOURCE_URL[0]=https://github.com/$SPELL/$SPELL/archive/refs/tags/v$VERSION.tar.gz
+
SOURCE_HASH=sha512:0e705cf83fac9ad2afcb9ecb0b2c4c1af3e2e495641fa09b5c9b3f3b2abc24f75a6cbe7cd7881d777f2e6f8aeece66600aafe7cf91c37c380cb944a24f21ed2d
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE="https://www.getlektor.com/";
LICENSE[0]="BSD-3-Clause"
diff --git a/python-pypi/lektor/HISTORY b/python-pypi/lektor/HISTORY
index a49092e..e78bb71 100644
--- a/python-pypi/lektor/HISTORY
+++ b/python-pypi/lektor/HISTORY
@@ -1,3 +1,9 @@
+2021-09-23 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 3.2.2
+ *
patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch:
+ removed, no longer needed
+ * DEPENDS: added python-charset-normalizer
+
2021-05-30 Ismael Luceno <ismael AT sourcemage.org>
*
patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch,
updated patch for Werkzeug 2.x
diff --git
a/python-pypi/lektor/patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch

b/python-pypi/lektor/patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch
deleted file mode 100644
index 17dff01..0000000
---
a/python-pypi/lektor/patches/0001-Replace-werkzeuz-s-rename-with-os.replace-enable-Wer.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 9428e56ae9f5429c186fd27dcb8a9bca202d26f9 Mon Sep 17 00:00:00 2001
-From: Ismael Luceno <ismael AT iodev.co.uk>
-Date: Sun, 30 May 2021 14:30:56 +0200
-Subject: [PATCH] Replace werkzeuz's rename with os.replace; enable
- Werkzeug 2.x
-
-This function has been always internal, and has been removed from
-Werkzeug 2.x.
-
-Python 3.3 provides os.replace, a cross-platform atomic rename function.
-
-If this is unavailable, on POSIX we can fall back to posix.rename.
-
-Ref: https://github.com/pallets/werkzeug/issues/1759
-Ref: https://bugs.python.org/issue8828
-Upstream-Status: Submitted [https://github.com/lektor/lektor/pull/911]
-Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
----
- lektor/builder.py | 5 ++++-
- lektor/utils.py | 5 ++++-
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/lektor/builder.py b/lektor/builder.py
-index 93572fd8f0dc..af9e6467ad16 100644
---- a/lektor/builder.py
-+++ b/lektor/builder.py
-@@ -11,7 +11,10 @@ from contextlib import contextmanager
- from itertools import chain
-
- import click
--from werkzeug.posixemulation import rename
-+try:
-+ from os import replace as rename
-+except ImportError:
-+ from posix import rename
-
- from lektor.build_programs import builtin_build_programs
- from lektor.buildfailures import FailureController
-diff --git a/lektor/utils.py b/lektor/utils.py
-index 2402a0aded72..7565b8cc7354 100644
---- a/lektor/utils.py
-+++ b/lektor/utils.py
-@@ -25,8 +25,11 @@ from markupsafe import Markup
- from slugify import slugify as _slugify
- from werkzeug import urls
- from werkzeug.http import http_date
--from werkzeug.posixemulation import rename
- from werkzeug.urls import url_parse
-+try:
-+ from os import replace as rename
-+except ImportError:
-+ from posix import rename
-
-
- is_windows = os.name == "nt"
---
-2.31.1
-
diff --git a/python-pypi/python-charset-normalizer/DEPENDS
b/python-pypi/python-charset-normalizer/DEPENDS
new file mode 100755
index 0000000..8c09196
--- /dev/null
+++ b/python-pypi/python-charset-normalizer/DEPENDS
@@ -0,0 +1 @@
+depends python3
diff --git a/python-pypi/python-charset-normalizer/DETAILS
b/python-pypi/python-charset-normalizer/DETAILS
new file mode 100755
index 0000000..3a1753c
--- /dev/null
+++ b/python-pypi/python-charset-normalizer/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=python-charset-normalizer
+ VERSION=2.0.6
+ SOURCE="charset_normalizer-$VERSION.tar.gz"
+ WEB_SITE="https://github.com/ousret/charset_normalizer";
+ SOURCE_URL[0]="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
+
SOURCE_HASH=sha512:04ea17fb1d61b88b4036f33a4b03df824e246e57590a5b64ded8e44298bb1d07ebf276ed6a2dc189580d7563e267ccadb3280728f1e5ac5f29cedd5b84bd6dc7
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SOURCE%.tar.gz}"
+ LICENSE[0]="MIT"
+ ENTERED=20210923
+ KEYWORDS=""
+ SHORT="Package for encoding and language detection"
+cat << EOF
+A library that helps you read text from an unknown charset encoding.
+
+Motivated by chardet, I'm trying to resolve the issue by taking a new
+approach. All IANA character set names for which the Python core library
+provides codecs are supported.
+EOF
diff --git a/python-pypi/python-charset-normalizer/HISTORY
b/python-pypi/python-charset-normalizer/HISTORY
new file mode 100644
index 0000000..d498889
--- /dev/null
+++ b/python-pypi/python-charset-normalizer/HISTORY
@@ -0,0 +1,2 @@
+2021-09-23 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (3e007197931cf0546006e4bca2ab7afca5f7d477), Ismael Luceno, 09/23/2021

Archive powered by MHonArc 2.6.24.

Top of Page