Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] pychess: update to 1.0.4.
Date: Wed, 19 Apr 2023 20:51:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43529@inbox.vuxu.org> (raw)

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

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

https://github.com/icp1994/void-packages pychess
https://github.com/void-linux/void-packages/pull/43529

pychess: update to 1.0.4.
- [New package: python3-SQLAlchemy2-2.0.9](https://github.com/void-linux/void-packages/commit/d9d67e293e900fe9f4a4db3a74e1b72ca5bd8ff0)
- [pychess: update to 1.0.4.](https://github.com/void-linux/void-packages/commit/edce2fb38cfa17aa2396a1031712c28dd40279de)

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

#### 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/43529.patch is attached

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

From d9d67e293e900fe9f4a4db3a74e1b72ca5bd8ff0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 18 Apr 2023 11:29:29 +0530
Subject: [PATCH 1/2] New package: python3-SQLAlchemy2-2.0.9

---
 srcpkgs/python3-SQLAlchemy2/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-SQLAlchemy2/template

diff --git a/srcpkgs/python3-SQLAlchemy2/template b/srcpkgs/python3-SQLAlchemy2/template
new file mode 100644
index 000000000000..d445ccb52fe2
--- /dev/null
+++ b/srcpkgs/python3-SQLAlchemy2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-SQLAlchemy2'
+pkgname=python3-SQLAlchemy2
+version=2.0.9
+revision=1
+build_style=python3-pep517
+make_install_target="dist/SQLAlchemy-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools python3-Cython python3-wheel"
+makedepends="python3-devel"
+depends="python3-greenlet python3-typing_extensions"
+checkdepends="${depends} python3-mypy python3-pytest-xdist"
+short_desc="SQL Toolkit and Object Relational Mapper for Python3 (v2)"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://www.sqlalchemy.org"
+changelog="https://docs.sqlalchemy.org/en/20/changelog/"
+distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"
+checksum=95719215e3ec7337b9f57c3c2eda0e6a7619be194a5166c07c1e599f6afc20fa
+
+conflicts="python3-SQLAlchemy"
+
+post_install() {
+	vlicense LICENSE
+}

From edce2fb38cfa17aa2396a1031712c28dd40279de Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 17 Apr 2023 21:40:55 +0530
Subject: [PATCH 2/2] pychess: update to 1.0.4.

---
 srcpkgs/pychess/template | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/pychess/template b/srcpkgs/pychess/template
index 92622121157e..7e52b7d8bf2f 100644
--- a/srcpkgs/pychess/template
+++ b/srcpkgs/pychess/template
@@ -1,23 +1,27 @@
 # Template file for 'pychess'
 pkgname=pychess
-version=1.0.3
-revision=2
+version=1.0.4
+revision=1
 build_style=python3-module
-_commondeps="python3-gobject python3-pexpect python3-SQLAlchemy
- gobject-introspection gtksourceview"
+_commondeps="python3-gobject python3-cairo python3-pexpect python3-SQLAlchemy2
+ gst1-python3 gtksourceview"
 hostmakedepends="python3-setuptools gettext ${_commondeps}"
-depends="stockfish gnome-icon-theme python3-websockets
+depends="stockfish hicolor-icon-theme python3-websockets
  python3-psutil gst-plugins-base1 ${_commondeps}"
 checkdepends="${depends} xvfb-run"
 short_desc="GTK chess client written in Python"
 maintainer="cipr3s <cipr3s@gmx.com>"
 license="GPL-3.0-or-later"
 homepage="https://pychess.github.io"
-distfiles="https://github.com/pychess/${pkgname}/archive/${version}.tar.gz"
-checksum=86b193dd1af1f40d37820afb33b3b3b890be2737d57df5f8e024a489840b25a4
+distfiles="https://github.com/pychess/pychess/archive/refs/tags/${version}.tar.gz"
+checksum=68cd4a0197d7e325f0e46fb52b88ce8ac7425c6c9adea60c8838a57af713b0a5
+
+pre_build() {
+	PYTHONPATH=lib python3 pgn2ecodb.py
+	PYTHONPATH=lib python3 create_theme_preview.py
+}
 
 do_check() {
 	cd testing/
-	rm remotegame.py
-	PYTHONPATH=../lib PYCHESS_UNITTEST=true xvfb-run -a python3 -m unittest discover -p "*.py"
+	PYTHONPATH=../lib PYCHESS_UNITTEST=true xvfb-run -a python3 run_tests.py
 }

             reply	other threads:[~2023-04-19 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 18:51 icp1994 [this message]
2023-06-09  9:16 ` [PR PATCH] [Merged]: " classabbyamp

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-43529@inbox.vuxu.org \
    --to=icp1994@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).