From 6a9ac9680f28d45facf5061678799adb7889319b Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 25 Aug 2022 15:13:56 -0400 Subject: [PATCH 1/7] python3-elementpath: update to 3.0.2. --- srcpkgs/python3-elementpath/template | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-elementpath/template b/srcpkgs/python3-elementpath/template index 1145bc45c6cd..f4e9a8267d6b 100644 --- a/srcpkgs/python3-elementpath/template +++ b/srcpkgs/python3-elementpath/template @@ -1,29 +1,23 @@ # Template file for 'python3-elementpath' pkgname=python3-elementpath -version=2.4.0 +version=3.0.2 revision=1 wrksrc=elementpath-${version} build_style=python3-module +# depends on xmlschema and memory_profiling +make_check_args="--ignore tests/memory_profiling.py \ + --ignore tests/execute_w3c_tests.py" hostmakedepends="python3-setuptools" depends="python3" -checkdepends="python3-lxml" +checkdepends="python3-lxml python3-pytest" short_desc="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://github.com/sissaschool/elementpath" distfiles="${PYPI_SITE}/e/elementpath/elementpath-${version}.tar.gz" -checksum=5b6801b3be94d48d213beb7b8ebad96addb35c95fc6a9c062c80e033b4a32fe8 +checksum=cca18742dc0f354f79874c41a906e6ce4cc15230b7858d22a861e1ec5946940f post_patch() { - # depends on xmlschema and memory_profiling - rm -f tests/memory_profiling.py tests/execute_w3c_tests.py - # unparsed text is broken - vsed -i ' - /def test_unparsed_text_function/,/^ *def /{ - /def test_unparse/d - /^ *def /!d - } - ' tests/test_xpath3.py # locale handling in musl is NOT that ideal, # those tests are broken on musl if [ "$XBPS_TARGET_LIBC" = musl ]; then From d900769418efc2dfa8154fe1c0c828706427dc65 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 25 Aug 2022 15:18:06 -0400 Subject: [PATCH 2/7] python3-xmlschema: update to 2.0.3. --- srcpkgs/python3-xmlschema/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-xmlschema/template b/srcpkgs/python3-xmlschema/template index 39798935bd80..21d3ef9eb1d3 100644 --- a/srcpkgs/python3-xmlschema/template +++ b/srcpkgs/python3-xmlschema/template @@ -1,6 +1,6 @@ # Template file for 'python3-xmlschema' pkgname=python3-xmlschema -version=1.9.2 +version=2.0.3 revision=1 wrksrc=xmlschema-${version} build_style=python3-module @@ -12,7 +12,7 @@ maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://github.com/sissaschool/xmlschema" distfiles="${PYPI_SITE}/x/xmlschema/xmlschema-${version}.tar.gz" -checksum=3ce6fe408a8c0a0ca5917cbe6181a933dfb5cfade9714eeb07b6335f9aff7b10 +checksum=adef8cb1e6572fe095b56ae4243b3618f842b32adba98e1b1bab0bd014f2234e post_install() { vlicense LICENSE From e4f4dc16699a5fbed669c4dc0966124390879a19 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 25 Aug 2022 15:08:33 -0400 Subject: [PATCH 3/7] python3-saml2: update to 7.2.1. --- srcpkgs/python3-saml2/template | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-saml2/template b/srcpkgs/python3-saml2/template index ce87ae737d8d..9c12d9fd5a79 100644 --- a/srcpkgs/python3-saml2/template +++ b/srcpkgs/python3-saml2/template @@ -1,9 +1,12 @@ # Template file for 'python3-saml2' pkgname=python3-saml2 -version=7.1.2 +version=7.2.1 revision=1 wrksrc="pysaml2-${version}" build_style=python3-module +make_check_args="--ignore=tests/test_36_mdbcache.py \ + --ignore=tests/test_75_mongodb.py \ + --ignore=tests/test_76_metadata_in_mdb.py" hostmakedepends="python3-setuptools" depends="python3-cryptography python3-openssl python3-dateutil python3-pytz python3-requests python3-six python3-defusedxml python3-xmlschema" @@ -15,12 +18,5 @@ license="Apache-2.0" homepage="https://github.com/IdentityPython/pysaml2" changelog="https://raw.githubusercontent.com/IdentityPython/pysaml2/master/CHANGELOG.md" distfiles="https://github.com/IdentityPython/pysaml2/archive/v${version}.tar.gz" -checksum=308934d5cd5f22a3ea7bd8d4fb5423ab0f5b0f08bf541e7c6b2cb0eb7302a3ab - -do_check() { - # Ignore tests that depend on unpackaged python dependency 'pymongo' - PYTHONPATH=src python3 -m pytest \ - --ignore=tests/test_36_mdbcache.py \ - --ignore=tests/test_75_mongodb.py \ - --ignore=tests/test_76_metadata_in_mdb.py -} +checksum=c6f5e36c0df040ebeccc0acc0be65960a2f12aaba1d77bbdae29cc3c475b0cdc +make_check_pre="env PYTHONPATH=src" From 56d4463c329ed9d2531d1ef90553f36688df7d1c Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 25 Aug 2022 15:27:22 -0400 Subject: [PATCH 4/7] python3-phonenumbers: update to 8.12.54. --- srcpkgs/python3-phonenumbers/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template index 52e3cd6e3c5a..9b863eec5273 100644 --- a/srcpkgs/python3-phonenumbers/template +++ b/srcpkgs/python3-phonenumbers/template @@ -1,6 +1,6 @@ # Template file for 'python3-phonenumbers' pkgname=python3-phonenumbers -version=8.12.53 +version=8.12.54 revision=1 wrksrc="phonenumbers-${version}" build_style=python3-module @@ -12,4 +12,4 @@ license="Apache-2.0" homepage="https://github.com/daviddrysdale/python-phonenumbers" changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md" distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz" -checksum=b945c1410d52448bb560a869e0a77af343422c96da55efbb2a44c5da38df299a +checksum=ec1ac87bed33640ef85e0b00be44e247c65367e8b846d3d8d0a10e0fb7aae1b9 From 0e9c3c29416d5ab0d5fae9d1ad01d347f32412ac Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 26 Aug 2022 09:15:01 -0400 Subject: [PATCH 5/7] python3-simplejson: update to 3.17.6, adopt. --- srcpkgs/python3-simplejson/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-simplejson/template b/srcpkgs/python3-simplejson/template index 905ebb3e4e6d..941f5a15c810 100644 --- a/srcpkgs/python3-simplejson/template +++ b/srcpkgs/python3-simplejson/template @@ -1,19 +1,20 @@ # Template file for 'python3-simplejson' pkgname=python3-simplejson -version=3.17.2 -revision=3 +version=3.17.6 +revision=1 wrksrc="simplejson-${version}" build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel" depends="python3" +checkdepends="python3-pytest" short_desc="Simple, fast, extensible JSON encoder/decoder for Python3" -maintainer="Orphaned " +maintainer="Joel Beckmeyer " license="MIT, AFL-2.1" homepage="https://github.com/simplejson/simplejson" changelog="https://raw.githubusercontent.com/simplejson/simplejson/master/CHANGES.txt" -distfiles="https://github.com/simplejson/simplejson/releases/download/v${version}/simplejson-${version}.tar.gz" -checksum=75ecc79f26d99222a084fbdd1ce5aad3ac3a8bd535cd9059528452da38b68841 +distfiles="https://github.com/simplejson/simplejson/archive/refs/tags/v${version}.tar.gz" +checksum=5522f3113924325499f15cd8a3fe47a42dfa127a6b76c1921b51cf3c3f2a6aa6 post_install() { vlicense LICENSE.txt LICENSE From 1e1cd9fe91e66db805bbac0749b2b8ea6018347e Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 31 Aug 2022 09:25:22 -0400 Subject: [PATCH 6/7] New package: python3-pydantic-1.10.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..d73778a7ff71 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.10.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-typing_extensions" +checkdepends="${depends} python3-pytest python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Joel Beckmeyer " +license="MIT" +homepage="https://github.com/pydantic/pydantic" +changelog="https://raw.githubusercontent.com/pydantic/pydantic/main/HISTORY.md" +distfiles="${PYPI_SITE}/p/pydantic/pydantic-${version}.tar.gz" +checksum=d41bb80347a8a2d51fbd6f1748b42aca14541315878447ba159617544712f770 + +post_install() { + vlicense LICENSE +} From fc987dfa327f5e18c3c553f070a2ba1743d3b63d Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 31 Aug 2022 09:06:42 -0400 Subject: [PATCH 7/7] synapse: update to 1.66.0. --- srcpkgs/synapse/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template index c0c9864974fc..65d4d87c7610 100644 --- a/srcpkgs/synapse/template +++ b/srcpkgs/synapse/template @@ -1,6 +1,6 @@ # Template file for 'synapse' pkgname=synapse -version=1.65.0 +version=1.66.0 revision=1 build_style=python3-pep517 make_check_target=tests @@ -14,7 +14,7 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson python3-setuptools python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq python3-macaroons python3-sortedcontainers python3-typing_extensions python3-ijson python3-matrix-common - python3-packaging" + python3-packaging python3-pydantic" checkdepends="$depends python3-parameterized unzip" short_desc="Matrix reference homeserver" maintainer="Joel Beckmeyer " @@ -22,7 +22,7 @@ license="Apache-2.0" homepage="https://github.com/matrix-org/synapse" changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md" distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz" -checksum=1872baa5a8a7124d0b4a02acb12a613488eb74d78c591bb85a32eb13de8576c4 +checksum=fa9f9ec286dc1ef967c442f9c87b9d722222b2a9cb3ef25b6bdbb0f20407a911 system_accounts="synapse" synapse_homedir="/var/lib/synapse"