Skip to content
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/python-platformdirs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-platformdirs
PKG_VERSION:=4.1.0
PKG_VERSION:=4.9.4
PKG_RELEASE:=1

PYPI_NAME:=platformdirs
PKG_HASH:=906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420
PKG_HASH:=1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
Expand Down
4 changes: 3 additions & 1 deletion lang/python/python-platformdirs/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ assert user_pictures_dir() == '/root/Pictures'
assert user_videos_dir() == '/root/Videos'
assert user_music_dir() == '/root/Music'
assert user_desktop_dir() == '/root/Desktop'
assert user_runtime_dir(appname, appauthor) == '/run/user/0/SuperApp'
# user_runtime_dir falls back to /tmp/runtime-{uid}/... if /run/user/{uid} is not writable
runtime_dir = user_runtime_dir(appname, appauthor)
assert 'SuperApp' in runtime_dir

assert site_data_dir(appname, appauthor) == '/usr/local/share/SuperApp'
assert site_data_dir(appname, appauthor, multipath=True) == '/usr/local/share/SuperApp:/usr/share/SuperApp'
Expand Down
6 changes: 3 additions & 3 deletions lang/python/python-pyparsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-pyparsing
PKG_VERSION:=3.1.1
PKG_VERSION:=3.3.2
PKG_RELEASE:=1

PYPI_NAME:=pyparsing
PKG_HASH:=ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db
PKG_HASH:=c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT
Expand All @@ -31,7 +31,7 @@ define Package/python3-pyparsing
SUBMENU:=Python
TITLE:=Define and execute parsing grammars
URL:=https://github.com/pyparsing/pyparsing/
DEPENDS:=+python3-light
DEPENDS:=+python3-light +python3-unittest
endef

define Package/python3-pyparsing/description
Expand Down
30 changes: 30 additions & 0 deletions lang/python/python-pyparsing/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh

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

python3 - << 'EOF'

import pyparsing as pp

# Basic word and integer parsing
word = pp.Word(pp.alphas)
integer = pp.Word(pp.nums)

result = word.parse_string("hello")
assert result[0] == "hello"

result = integer.parse_string("42")
assert result[0] == "42"

# Combined expression
greeting = word + pp.Literal(",") + word
result = greeting.parse_string("Hello, World")
assert result[0] == "Hello"
assert result[2] == "World"

# OneOf
colors = pp.one_of("red green blue")
result = colors.parse_string("green")
assert result[0] == "green"

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

PKG_NAME:=python-trove-classifiers
PKG_VERSION:=2025.9.11.17
PKG_VERSION:=2026.1.14.14
PKG_RELEASE:=1

PYPI_NAME:=trove-classifiers
PYPI_SOURCE_NAME:=trove_classifiers
PKG_HASH:=931ca9841a5e9c9408bc2ae67b50d28acf85bef56219b56860876dd1f2d024dd
PKG_HASH:=00492545a1402b09d4858605ba190ea33243d361e2b01c9c296ce06b5c3325f3

PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
Expand Down
20 changes: 20 additions & 0 deletions lang/python/python-trove-classifiers/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh

[ "$1" = python3-trove-classifiers ] || exit 0

python3 - << 'EOF'

from trove_classifiers import classifiers, sorted_classifiers

# Check that the classifiers set is non-empty
assert len(classifiers) > 0

# Check a few well-known classifiers exist
assert "Programming Language :: Python :: 3" in classifiers
assert "License :: OSI Approved :: MIT License" in classifiers
assert "Operating System :: OS Independent" in classifiers

# sorted_classifiers should be a sorted list
assert sorted_classifiers == sorted(classifiers)

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

PKG_NAME:=python-typing-extensions
PKG_VERSION:=4.9.0
PKG_VERSION:=4.15.0
PKG_RELEASE:=1

PYPI_NAME:=typing-extensions
PYPI_SOURCE_NAME:=typing_extensions
PKG_HASH:=23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783
PKG_HASH:=0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=Python-2.0.1 0BSD
Expand Down
11 changes: 11 additions & 0 deletions libs/lmdb/patches/020-set-soname-for-liblmdb-so.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/libraries/liblmdb/Makefile
+++ b/libraries/liblmdb/Makefile
@@ -67,7 +67,7 @@ liblmdb.a: mdb.o midl.o

liblmdb$(SOEXT): mdb.lo midl.lo
# $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS)
- $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
+ $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo $(SOLIBS)

mdb_stat: mdb_stat.o liblmdb.a
mdb_copy: mdb_copy.o liblmdb.a
2 changes: 1 addition & 1 deletion net/knot-resolver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=knot-resolver
PKG_VERSION:=5.7.6
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver
Expand Down
20 changes: 0 additions & 20 deletions net/knot-resolver/patches/010-fix-lmdb.patch

This file was deleted.

Loading