Github messages for voidlinux
 help / color / mirror / Atom feed
From: DragonGhost7 <DragonGhost7@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] etesync-dav: update to 0.32.1
Date: Sat, 08 Oct 2022 23:02:57 +0200	[thread overview]
Message-ID: <20221008210257.42Be4PrF7cjp32cwlfMGdaTCY8IbtfKIozQb648QSnk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39818@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

There is an updated pull request by DragonGhost7 against master on the void-packages repository

https://github.com/DragonGhost7/void-packages etesync-dav
https://github.com/void-linux/void-packages/pull/39818

etesync-dav: update to 0.32.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64


A patch file from https://github.com/void-linux/void-packages/pull/39818.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-etesync-dav-39818.patch --]
[-- Type: text/x-diff, Size: 8006 bytes --]

From ede88fbad7e8ac83263f12e3ebdbfc386d4aa9ef Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
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 <darkiridiumghost@gmail.com>"
+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 <darkiridiumghost@gmail.com>
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 <orphan@voidlinux.org>"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
 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 <darkiridiumghost@gmail.com>
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 <tom@stosb.com>
+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 <darkiridiumghost@gmail.com>"
+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 <darkiridiumghost@gmail.com>
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 <orphan@voidlinux.org>"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
 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 <darkiridiumghost@gmail.com>
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 <orphan@voidlinux.org>"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
 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

  parent reply	other threads:[~2022-10-08 21:02 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08 20:44 [PR PATCH] " DragonGhost7
2022-10-08 20:55 ` [PR PATCH] [Updated] " DragonGhost7
2022-10-08 21:02 ` DragonGhost7 [this message]
2022-10-11  5:04 ` [PR REVIEW] " classabbyamp
2022-10-11  5:06 ` classabbyamp
2022-10-11  5:09 ` classabbyamp
2022-10-11 14:38 ` [PR PATCH] [Updated] " DragonGhost7
2022-10-11 17:16 ` [PR PATCH] [Merged]: " classabbyamp
2022-10-13 20:19 ` [PR REVIEW] " ahesford
2022-10-13 20:35 ` classabbyamp
2022-10-13 20:35 ` classabbyamp
2022-10-13 20:39 ` ahesford
2022-10-13 21:00 ` DragonGhost7
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 14:30 ` paper42
2022-10-16 18:35 ` DragonGhost7
2022-10-19 13:48 ` ahesford
2022-10-19 13:51 ` ahesford
2022-10-19 14:14 ` DragonGhost7
2022-10-19 14:21 ` ahesford
2022-10-19 14:25 ` DragonGhost7
2022-10-19 14:27 ` DragonGhost7
2022-10-19 14:32 ` ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221008210257.42Be4PrF7cjp32cwlfMGdaTCY8IbtfKIozQb648QSnk@z \
    --to=dragonghost7@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).