Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django, python-et_xmlfile, python-lxml: bump versions #25608

Merged
merged 3 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lang/python/django/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=django
PKG_VERSION:=5.1.3
PKG_VERSION:=5.1.4
PKG_RELEASE:=1

PYPI_NAME:=Django
PKG_HASH:=c0fa0e619c39325a169208caef234f90baa925227032ad3f44842ba14d75234a
PKG_HASH:=de450c09e91879fa5a307f696e57c851955c910a438a35e6b4c895e86bedc82a

PKG_MAINTAINER:=Alexandru Ardelean <[email protected]>, Peter Stadler <[email protected]>
PKG_LICENSE:=BSD-3-Clause
Expand Down
2 changes: 0 additions & 2 deletions lang/python/django/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh

[ "$1" = "python3-django" ] || exit 0

GOT_VER=$(/usr/bin/django-admin version)
[ "$GOT_VER" = "$2" ] || {
echo "Incorrect version: expected '$2' ; obtained '$GOT_VER'"
Expand Down
4 changes: 2 additions & 2 deletions lang/python/python-et_xmlfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-et_xmlfile
PKG_VERSION:=1.1.0
PKG_VERSION:=2.0.0
PKG_RELEASE:=1

PKG_MAINTAINER:=Alexandru Ardelean <[email protected]>, Eneas U de Queiroz <[email protected]>
PKG_LICENSE:=MIT

PYPI_NAME:=et_xmlfile
PKG_HASH:=8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c
PKG_HASH:=dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand Down
29 changes: 29 additions & 0 deletions lang/python/python-et_xmlfile/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/sh

EXPECTED_VER="$2"

python3 - << EOF

import sys
from io import BytesIO
from xml.etree.ElementTree import Element

from et_xmlfile import xmlfile

if (et_xmlfile.__version__ != "$EXPECTED_VER"):
print("Invalid version obtained '" + et_xmlfile.__version__ + "'")
sys.exit(1)

out = BytesIO()
with xmlfile(out) as xf:
el = Element("root")
xf.write(el) # write the XML straight to the file-like object

if (out.getvalue() != b"<root />"):
print("Does not seem to work")
sys.exit(1)

sys.exit(0)

EOF

4 changes: 2 additions & 2 deletions lang/python/python-lxml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-lxml
PKG_VERSION:=5.2.2
PKG_VERSION:=5.3.0
PKG_RELEASE:=1

PYPI_NAME:=lxml
PKG_HASH:=bb2dc4898180bea79863d5487e5f9c7c34297414bad54bcd0f0852aee9cfdb87
PKG_HASH:=4e109ca30d1edec1ac60cdbe341905dc3b8f55b16855e03a54aaf59e51ec8c6f

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSES.txt
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["Cython>=3.0.11", "setuptools", "wheel"]
+requires = ["Cython>=3.0.10", "setuptools", "wheel"]

[tool.cibuildwheel]
build-verbosity = 2
2 changes: 0 additions & 2 deletions lang/python/python-lxml/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh

[ "$1" = "python3-lxml" ] || exit 0

EXP_VER="$2"

python3 - << EOF
Expand Down
Loading