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

PKG_NAME:=pipx
PKG_VERSION:=1.3.3
PKG_VERSION:=1.12.0
PKG_RELEASE:=1

PYPI_NAME:=pipx
PKG_HASH:=6d5474e71e78c28d83570443e5418c56599aa8319a950ccf5984c5cb0a35f0a7
PKG_HASH:=a25ae54944c116b7dc53440aab71975f29f4f9fe4bc478cf9ddb123bed3e00f5

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

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

python3 -c '
import pymysql

# Verify version
assert pymysql.__version__

# Verify core exports
assert hasattr(pymysql, "connect")
assert hasattr(pymysql, "connections")
assert hasattr(pymysql, "cursors")

# Verify cursor types are importable
from pymysql.cursors import Cursor, DictCursor, SSCursor, SSDictCursor

# Verify exception classes are importable
from pymysql import (
err,
MySQLError,
OperationalError,
InterfaceError,
DatabaseError,
IntegrityError,
DataError,
)

# Verify connections.Connection class exists
from pymysql import connections
assert connections.Connection is not None

# Verify callable cursor classes
assert callable(Cursor)
assert callable(DictCursor)
assert callable(SSCursor)
assert callable(SSDictCursor)

# Verify constants module
import pymysql.constants as constants
assert hasattr(constants, "CR")
assert hasattr(constants, "ER")

# Verify _escape function exists (used internally for queries)
from pymysql.converters import escape_string, escape_dict
assert callable(escape_string)
assert callable(escape_dict)

print("pymysql OK")
'
4 changes: 2 additions & 2 deletions lang/python/python-click/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-click
PKG_VERSION:=8.3.2
PKG_VERSION:=8.3.3
PKG_RELEASE:=1

PYPI_NAME:=click
PKG_HASH:=14162b8b3b3550a7d479eafa77dfd3c38d9dc8951f6f69c78913a8f9a7540fd5
PKG_HASH:=398329ad4837b2ff7cbe1dd166a4c0f8900c3ca3a218de04466f38f6497f18a2

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=BSD-3-Clause
Expand Down
4 changes: 2 additions & 2 deletions lang/python/python-packaging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-packaging
PKG_VERSION:=26.0
PKG_VERSION:=26.2
PKG_RELEASE:=2

PYPI_NAME:=packaging
PKG_HASH:=00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4
PKG_HASH:=ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=Apache-2.0 BSD-2-Clause
Expand Down
4 changes: 2 additions & 2 deletions lang/python/python-requests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-requests
PKG_VERSION:=2.33.1
PKG_VERSION:=2.34.2
PKG_RELEASE:=1

PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
Expand All @@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:python:requests

PYPI_NAME:=requests
PKG_HASH:=18817f8c57c6263968bc123d237e3b8b08ac046f5456bd1e307ee8f4250d3517
PKG_HASH:=f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed

HOST_BUILD_DEPENDS:= \
python-chardet/host \
Expand Down