Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] syncthing-gtk: switch to debian python3 fork
Date: Fri, 12 Nov 2021 02:09:07 +0100	[thread overview]
Message-ID: <20211112010907.NMlVYW0kW7lXoLliozHc7SE7iKLZHviFAxi-5kxDvjE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33943@inbox.vuxu.org>

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

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

https://github.com/paper42/void-packages syncthing-gtk-py3
https://github.com/void-linux/void-packages/pull/33943

syncthing-gtk: switch to debian python3 fork
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

@steinex

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-syncthing-gtk-py3-33943.patch --]
[-- Type: text/x-diff, Size: 4311 bytes --]

From 345427b328f7ba9d856d86b7653b09cfd0de1398 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 Nov 2021 19:27:44 +0100
Subject: [PATCH 1/2] syncthing-gtk: switch to debian python3 fork

---
 srcpkgs/syncthing-gtk/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/syncthing-gtk/template b/srcpkgs/syncthing-gtk/template
index 90e9f21cf4ae..39a9076bc82e 100644
--- a/srcpkgs/syncthing-gtk/template
+++ b/srcpkgs/syncthing-gtk/template
@@ -1,15 +1,15 @@
 # Template file for 'syncthing-gtk'
 pkgname=syncthing-gtk
 reverts="0.14.36_1"
-version=0.9.4.4
-revision=3
-build_style=python2-module
-hostmakedepends="python-setuptools"
-depends="syncthing python-dateutil libnotify librsvg python-bcrypt
- python-cairo gtk+3 python-gobject"
-short_desc="GTK3 and python based GUI for Syncthing"
+version=0.9.4.4+ds+git20201209+c46fbd8
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="syncthing python3-dateutil libnotify librsvg python3-bcrypt
+ python3-cairo gtk+3 python3-gobject"
+short_desc="GTK based GUI for Syncthing"
 maintainer="Frank Steinborn <steinex@nognu.de>"
 license="GPL-2.0-or-later"
-homepage="https://github.com/syncthing/syncthing-gtk"
-distfiles="https://github.com/syncthing/syncthing-gtk/archive/v${version}.tar.gz"
-checksum=896ddaaba4ad0b8f090c5a381a28b3da759932314562cdd50ca288543b03ddcc
+homepage="https://salsa.debian.org/debian/syncthing-gtk/"
+distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}.orig.tar.xz"
+checksum=850ac6fb937e71827b23011f5a7783110d982cd072a3e48810b266a904a853fb

From c35d53e8c9d2ab6ff5bdf88f7502f98a7b7dcda7 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 Nov 2021 19:38:56 +0100
Subject: [PATCH 2/2] python-bcrypt: drop package

---
 srcpkgs/python-bcrypt/template  | 25 -------------------------
 srcpkgs/python3-bcrypt          |  1 -
 srcpkgs/python3-bcrypt/template | 16 ++++++++++++++++
 3 files changed, 16 insertions(+), 26 deletions(-)
 delete mode 100644 srcpkgs/python-bcrypt/template
 delete mode 120000 srcpkgs/python3-bcrypt
 create mode 100644 srcpkgs/python3-bcrypt/template

diff --git a/srcpkgs/python-bcrypt/template b/srcpkgs/python-bcrypt/template
deleted file mode 100644
index fdb27f491892..000000000000
--- a/srcpkgs/python-bcrypt/template
+++ /dev/null
@@ -1,25 +0,0 @@
-# Template file for 'python-bcrypt'
-pkgname=python-bcrypt
-version=3.2.0
-revision=2
-wrksrc="bcrypt-${version}"
-build_style=python-module
-pycompile_module="bcrypt"
-hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
-makedepends="python-devel python3-devel python-cffi python3-cffi"
-depends="python-cffi python-six"
-short_desc="Modern password hashing for software and servers (Python2)"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="Apache-2.0"
-homepage="https://github.com/pyca/bcrypt"
-distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
-checksum=5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29
-
-python3-bcrypt_package() {
-	pycompile_module="bcrypt"
-	depends="python3-cffi python3-six"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-	}
-}
diff --git a/srcpkgs/python3-bcrypt b/srcpkgs/python3-bcrypt
deleted file mode 120000
index 37f57fe961e8..000000000000
--- a/srcpkgs/python3-bcrypt
+++ /dev/null
@@ -1 +0,0 @@
-python-bcrypt
\ No newline at end of file
diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template
new file mode 100644
index 000000000000..6f70ab52044d
--- /dev/null
+++ b/srcpkgs/python3-bcrypt/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-bcrypt'
+pkgname=python3-bcrypt
+version=3.2.0
+revision=3
+wrksrc="bcrypt-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-cffi"
+makedepends="python3-devel"
+depends="python3-cffi python3-six"
+checkdepends="python3-pytest $depends"
+short_desc="Modern password hashing for software and servers"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/pyca/bcrypt"
+distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
+checksum=5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29

  parent reply	other threads:[~2021-11-12  1:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 18:34 [PR PATCH] " paper42
2021-11-07 18:39 ` [PR PATCH] [Updated] " paper42
2021-11-07 18:40 ` paper42
2021-11-08  1:02 ` [PR REVIEW] " sgn
2021-11-12  1:04 ` [PR PATCH] [Updated] " paper42
2021-11-12  1:09 ` paper42 [this message]
2021-11-12  1:09 ` [PR REVIEW] " paper42
2021-11-13 19:45 ` [PR PATCH] [Merged]: " paper42

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=20211112010907.NMlVYW0kW7lXoLliozHc7SE7iKLZHviFAxi-5kxDvjE@z \
    --to=paper42@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).