Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New pacakge: python3-eduvpn-client-4.1.3
Date: Mon, 11 Sep 2023 21:50:58 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46018@inbox.vuxu.org> (raw)

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

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages eduvpn
https://github.com/void-linux/void-packages/pull/46018

New pacakge: python3-eduvpn-client-4.1.3
- New package: python3-eduvpn-client-4.1.3
- New package: eduvpn-common-1.1.2


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

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

From 69a5190dc7c9877015aa9c9067616c410de539aa Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Mon, 10 Jul 2023 15:40:44 +0200
Subject: [PATCH 1/2] New package: python3-eduvpn-client-4.1.3

---
 srcpkgs/eduvpn-client                  |  1 +
 srcpkgs/letsconnect-client             |  1 +
 srcpkgs/python3-eduvpn-client/template | 40 ++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/eduvpn-client
 create mode 120000 srcpkgs/letsconnect-client
 create mode 100644 srcpkgs/python3-eduvpn-client/template

diff --git a/srcpkgs/eduvpn-client b/srcpkgs/eduvpn-client
new file mode 120000
index 0000000000000..cb3363a11914f
--- /dev/null
+++ b/srcpkgs/eduvpn-client
@@ -0,0 +1 @@
+python3-eduvpn-client
\ No newline at end of file
diff --git a/srcpkgs/letsconnect-client b/srcpkgs/letsconnect-client
new file mode 120000
index 0000000000000..cb3363a11914f
--- /dev/null
+++ b/srcpkgs/letsconnect-client
@@ -0,0 +1 @@
+python3-eduvpn-client
\ No newline at end of file
diff --git a/srcpkgs/python3-eduvpn-client/template b/srcpkgs/python3-eduvpn-client/template
new file mode 100644
index 0000000000000..5ba83c0afbac0
--- /dev/null
+++ b/srcpkgs/python3-eduvpn-client/template
@@ -0,0 +1,40 @@
+# Template file for 'python3-eduvpn-client'
+pkgname=python3-eduvpn-client
+version=4.1.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="eduvpn-common python3-gobject NetworkManager-openvpn"
+short_desc="Linux client and Python client API for eduVPN"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-3.0-or-later"
+homepage="https://www.eduvpn.org/"
+distfiles="${PYPI_SITE}/e/eduvpn-client/eduvpn_client-${version}.tar.gz"
+checksum=e693548d591f3165ed8da0032a4463c699426bbc92e517cd99b0104a52f2518b
+
+eduvpn-client_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/share/icons/hicolor/48x48/apps/org.eduvpn.client.png
+		vmove usr/share/icons/hicolor/128x128/apps/org.eduvpn.client.png
+		vmove usr/share/icons/hicolor/256x256/apps/org.eduvpn.client.png
+		vmove usr/share/icons/hicolor/512x512/apps/org.eduvpn.client.png
+		vmove usr/bin/eduvpn-cli
+		vmove usr/bin/eduvpn-gui
+		vmove usr/share/applications/org.eduvpn.client.desktop
+	}
+}
+
+letsconnect-client_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/share/letsconnect
+		vmove usr/share/icons/hicolor/48x48/apps/org.letsconnect-vpn.client.png
+		vmove usr/share/icons/hicolor/128x128/apps/org.letsconnect-vpn.client.png
+		vmove usr/share/icons/hicolor/256x256/apps/org.letsconnect-vpn.client.png
+		vmove usr/share/icons/hicolor/512x512/apps/org.letsconnect-vpn.client.png
+		vmove usr/bin/letsconnect-cli
+		vmove usr/bin/letsconnect-gui
+		vmove usr/share/applications/org.letsconnect-vpn.client.desktop
+	}
+}

From f94e4100adff1f0b3cf0866a5cef8017c16b6f71 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Mon, 10 Jul 2023 15:41:10 +0200
Subject: [PATCH 2/2] New package: eduvpn-common-1.1.2

---
 srcpkgs/eduvpn-common/template | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/eduvpn-common/template

diff --git a/srcpkgs/eduvpn-common/template b/srcpkgs/eduvpn-common/template
new file mode 100644
index 0000000000000..623f90377dad0
--- /dev/null
+++ b/srcpkgs/eduvpn-common/template
@@ -0,0 +1,35 @@
+# Template file for 'eduvpn-common'
+pkgname=eduvpn-common
+version=1.1.2
+revision=1
+build_style=go
+go_import_path=github.com/eduvpn/eduvpn-common
+hostmakedepends="python3-setuptools python3-wheel"
+short_desc="Code to be shared between eduVPN clients"
+maintainer="John <me@johnnynator.dev>"
+license="MIT"
+homepage="https://www.eduvpn.org/"
+distfiles="https://github.com/eduvpn/eduvpn-common/releases/download/${version}/eduvpn-common-${version}.tar.xz"
+checksum=22e4c21b70ccd94ca293bbb65ae01aefa7fa328cf204416e3ac8da9741a8a2ce
+
+do_build() {
+	go build -x -o libeduvpn_common-${version}.so \
+		-mod="vendor" -modcacherw \
+		-buildmode=c-shared -ldflags "${go_ldflags}" \
+		${go_import_path}/exports
+	mv libeduvpn_common-${version}.h eduvpn_common.h
+	#go install -x -p "$XBPS_MAKEJOBS" -ldflags "${go_ldflags}" \
+	#	-mod="vendor" -modcacherw \
+	#	${go_import_path}/cmd/cli
+	cd wrappers/python
+	python3 setup.py build
+}
+
+do_install() {
+	vlicense LICENSE
+	vinstall libeduvpn_common-${version}.so 755 /usr/lib
+	vinstall eduvpn_common.h 644 /usr/include
+	#vbin ${GOPATH}/bin/cli eduvpn-cli
+	cd wrappers/python
+	python3 setup.py install --prefix=/usr --root=${DESTDIR}
+}

             reply	other threads:[~2023-09-11 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-11 19:50 Johnnynator [this message]
2023-09-11 20:00 ` [PR PATCH] [Updated] " Johnnynator
2023-09-12 17:51 ` [PR PATCH] [Merged]: " Johnnynator

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46018@inbox.vuxu.org \
    --to=johnnynator@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).