From ede88fbad7e8ac83263f12e3ebdbfc386d4aa9ef Mon Sep 17 00:00:00 2001 From: DragonGhost7 Date: Sat, 8 Oct 2022 16:01:12 -0400 Subject: [PATCH 1/5] New package: python3-email-validator-1.3.0_1: --- srcpkgs/python3-email-validator/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..489b54017846 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,21 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.3.0 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3" +depends="python3-idna python3-dnspython" +checkdepends="python3-pytest" +short_desc="Robust email address syntax and deliverability validation library" +maintainer="DragonGhost7 " +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=1f5b38b5f6b8455468f2c557e887c442d455931ee1523c6eb40c6f7ce119d99b +make_check=no #no tests folder is present in archives + +post_install() { + vlicense LICENSE +} From 31a814f428e1bcd635b77829a533b8da7aeeb3ab Mon Sep 17 00:00:00 2001 From: DragonGhost7 Date: Sat, 8 Oct 2022 16:09:07 -0400 Subject: [PATCH 2/5] python3-WTForms: update to 3.0.1. --- srcpkgs/python3-WTForms/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-WTForms/template b/srcpkgs/python3-WTForms/template index aea6345e4710..a3eb0e15e0e6 100644 --- a/srcpkgs/python3-WTForms/template +++ b/srcpkgs/python3-WTForms/template @@ -1,18 +1,19 @@ # Template file for 'python3-WTForms' pkgname=python3-WTForms -version=2.2.1 -revision=5 +version=3.0.1 +revision=1 wrksrc="WTForms-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3" +hostmakedepends="python3-setuptools python3-wheel python3-Babel" +depends="python3 python3-MarkupSafe python3-email-validator" +checkdepends="python3-pytest ${depends}" short_desc="Forms validation and rendering library for Python3" -maintainer="Orphaned " +maintainer="DragonGhost7 " license="BSD-3-Clause" homepage="http://wtforms.simplecodes.com/" #changelog="https://raw.githubusercontent.com/wtforms/wtforms/master/CHANGES.rst" distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.tar.gz" -checksum=0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61 +checksum=6b351bbb12dd58af57ffef05bc78425d08d1914e0fd68ee14143b7ade023c5bc post_install() { vlicense LICENSE.rst LICENSE From b5c978770c102a1cfeb75bb2dcb7b69c44663f5b Mon Sep 17 00:00:00 2001 From: DragonGhost7 Date: Sat, 8 Oct 2022 16:31:35 -0400 Subject: [PATCH 3/5] New package: python3-etebase-0.31.5 --- .../patches/libssl_linking.patch | 21 ++++++++++++++ srcpkgs/python3-etebase/template | 28 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 srcpkgs/python3-etebase/patches/libssl_linking.patch create mode 100644 srcpkgs/python3-etebase/template diff --git a/srcpkgs/python3-etebase/patches/libssl_linking.patch b/srcpkgs/python3-etebase/patches/libssl_linking.patch new file mode 100644 index 000000000000..ea144ca7c48d --- /dev/null +++ b/srcpkgs/python3-etebase/patches/libssl_linking.patch @@ -0,0 +1,21 @@ +From 2767461bc4509440be3a9b8f553b9a0bea468e6b Mon Sep 17 00:00:00 2001 +From: Tom Hacohen +Date: Mon, 23 Nov 2020 11:59:53 +0200 +Subject: [PATCH] Dynamically link against libssl. + +--- + Cargo.toml | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index 5700454..d525653 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -19,5 +19,4 @@ log = "^0.4.6" + + [dependencies] + cpython = { version = "0.7", features = ["extension-module"] } +-openssl = { version = "0.10.30", features = ["vendored"] } + etebase = { version = "^0.5.1" } +-- +2.28.0 diff --git a/srcpkgs/python3-etebase/template b/srcpkgs/python3-etebase/template new file mode 100644 index 000000000000..879c2c11a03f --- /dev/null +++ b/srcpkgs/python3-etebase/template @@ -0,0 +1,28 @@ +# Template file for 'python3-etebase' +pkgname=python3-etebase +version=0.31.5 +revision=1 +archs="x86_64" +wrksrc="etebase-py-${version}" +build_style=python3-module +build_helper="rust" +hostmakedepends="python3-setuptools python3-wheel python3-setuptools-rust cargo" +makedepends="libsodium libsodium-devel openssl-devel pkg-config" +depends="python3-msgpack openssl" +checkdepends="python3-pytest python3-pytest ${depends}" +short_desc="Python library for Etebase" +maintainer="DragonGhost7 " +license="BSD-3-Clause" +homepage="https://github.com/etesync/etebase-py/" +distfiles="https://github.com/etesync/etebase-py/archive/refs/tags/v${version}.tar.gz" +checksum=3f372b18cc518e04788ca553fb05989f77f393d041688a44f69b7b5b56d71048 +make_check=no #checking requires starting the server on localhost + +pre_build() { + vsed -i -e 's|.rustfmt_bindings(true);|.rustfmt_bindings(false);|' build.rs +#rustfmt binary is not present in the default cargo installation. +} + +post_install() { + vlicense LICENSE +} From 1d46c54b3861a3bb21ae11128b655234be37e25e Mon Sep 17 00:00:00 2001 From: DragonGhost7 Date: Sat, 8 Oct 2022 16:32:45 -0400 Subject: [PATCH 4/5] python3-etesync: update to 0.12.1. --- srcpkgs/python3-etesync/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/python3-etesync/template b/srcpkgs/python3-etesync/template index 8f0f6dfc758a..0fb68728c047 100644 --- a/srcpkgs/python3-etesync/template +++ b/srcpkgs/python3-etesync/template @@ -11,7 +11,7 @@ python3-pycparser python3-parsing python3-pytz python3-requests python3-six python3-vobject python3-scrypt" checkdepends="$depends python3-pytest python3-coverage" short_desc="Python3 client library for EteSync" -maintainer="Orphaned " +maintainer="DragonGhost7 " license="LGPL-3.0-only" homepage="https://www.etesync.com" distfiles="${PYPI_SITE}/e/etesync/etesync-${version}.tar.gz" From c71de8f3669946a7b2555ec6ddaa19fade698c2b Mon Sep 17 00:00:00 2001 From: DragonGhost7 Date: Sat, 8 Oct 2022 16:35:08 -0400 Subject: [PATCH 5/5] etesync-dav: update to 0.32.1. --- srcpkgs/etesync-dav/template | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/srcpkgs/etesync-dav/template b/srcpkgs/etesync-dav/template index 045727d707a1..d834cf4f3286 100644 --- a/srcpkgs/etesync-dav/template +++ b/srcpkgs/etesync-dav/template @@ -1,22 +1,16 @@ # Template file for 'etesync-dav' pkgname=etesync-dav -version=0.20.4 -revision=3 +version=0.32.1 +revision=1 +archs="x86_64" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-etesync radicale2 python3-Flask python3-Flask-WTF" +depends="python3-etesync python3-etebase radicale2 python3-Flask python3-Flask-WTF" checkdepends="$depends python3-pytest" short_desc="CalDAV and CardDAV frontend for EteSync" -maintainer="Orphaned " +maintainer="DragonGhost7 " license="GPL-3.0-only" homepage="http://www.etesync.com" distfiles="${PYPI_SITE}/e/etesync-dav/etesync-dav-${version}.tar.gz" -checksum=0f112d0ae98bfb5908d581e392cfba24e7f9f4ccac3109d21173e8c0ab5bc03f - -do_check() { - pytest3 -} - -post_install() { - rm -r ${DESTDIR}/${py3_sitelib}/tests -} +checksum=a4e2ee83932755d29ac39c1e74005ec289880fd2d4d2164f09fe2464a294d720 +make_check=no #there are no tests to run