Github messages for voidlinux
 help / color / mirror / Atom feed
From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pygtk: add python_version
Date: Wed, 29 Apr 2020 00:47:00 +0200	[thread overview]
Message-ID: <20200428224700.K603uRIda39IjOb8hphTddclKWDuY59N4Gie7XXyBmQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21318@inbox.vuxu.org>

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

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

https://github.com/fosslinux/void-packages pygtk-python-version
https://github.com/void-linux/void-packages/pull/21318

pygtk: add python_version


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pygtk-python-version-21318.patch --]
[-- Type: text/x-diff, Size: 1925 bytes --]

From 62ef4aaa9275092260d567bf1272d5f8664417bc Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 25 Apr 2020 08:43:16 +1000
Subject: [PATCH] pygtk: add python_version, fix xlint

---
 srcpkgs/pygtk/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..0e2d73b3778 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -1,27 +1,31 @@
 # Template file for 'pygtk'
 pkgname=pygtk
 version=2.24.0
-revision=13
-lib32disabled=yes
+revision=14
 build_style=gnu-configure
 configure_args="PYTHON=python2"
+# This is required to avoid compiling all of gtk-2.0
+# Ignore xlint on this one
+pycompile_module="gtk-2.0/gtk"
 hostmakedepends="pkg-config python-gobject2-devel python-numpy"
 makedepends="python-devel gtk+-devel libxml2-devel libglade-devel
  python-gobject2-devel"
 depends="python python-cairo python-gobject2"
-pycompile_module="gtk-2.0/gtk"
 short_desc="Python bindings for the GTK+ toolkit"
-homepage="http://www.pygtk.org"
-license="LGPL-2.1"
 maintainer="Orphaned <orphan@voidlinux.org>"
+license="LGPL-2.1-or-later"
+homepage="http://www.pygtk.org"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
+lib32disabled=yes
+python_version=2
 
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
 	fi
 }
+
 post_install() {
 	vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
 }
@@ -30,7 +34,7 @@ pygtk-devel_package() {
 	lib32disabled=yes
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
-	pycompile_module="demos"
+	pycompile_dirs="usr/lib/pygtk"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/share

  parent reply	other threads:[~2020-04-28 22:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 22:54 [PR PATCH] " fosslinux
2020-04-25  0:26 ` Chocimier
2020-04-25  0:26 ` Chocimier
2020-04-25  0:26 ` Chocimier
2020-04-25  2:39 ` [PR PATCH] [Updated] " fosslinux
2020-04-25  6:36 ` fosslinux
2020-04-25  6:37 ` fosslinux
2020-04-25  7:49 ` Chocimier
2020-04-25 22:04 ` [PR PATCH] [Updated] " fosslinux
2020-04-25 22:05 ` fosslinux
2020-04-28 22:46 ` fosslinux
2020-04-28 22:47 ` fosslinux [this message]
2020-04-28 22:48 ` fosslinux
2020-04-28 23:14 ` [PR PATCH] [Merged]: " Chocimier

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=20200428224700.K603uRIda39IjOb8hphTddclKWDuY59N4Gie7XXyBmQ@z \
    --to=fosslinux@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).