Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pygtk: add python_version
@ 2020-04-24 22:54 fosslinux
  2020-04-25  0:26 ` Chocimier
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fosslinux @ 2020-04-24 22:54 UTC (permalink / raw)
  To: ml

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

There is a new 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: 728 bytes --]

From 28d1701c58fc38685a249be1a08ab42ac4c5a2d7 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

---
 srcpkgs/pygtk/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..5a91857849f 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -16,6 +16,7 @@ license="LGPL-2.1"
 maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
+python_version=2
 
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
@ 2020-04-25  0:26 ` Chocimier
  2020-04-25  0:26 ` Chocimier
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2020-04-25  0:26 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-619290091

Comment:
First pycompile_module is not needed, as it is actually useful.

Second should be replaced with `pycompile_dirs="usr/lib/pygtk"`

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
  2020-04-25  0:26 ` Chocimier
@ 2020-04-25  0:26 ` Chocimier
  2020-04-25  0:26 ` Chocimier
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2020-04-25  0:26 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-619290091

Comment:
First pycompile_module is actually useful.

Second should be replaced with `pycompile_dirs="usr/lib/pygtk"`

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version 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
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2020-04-25  0:26 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-619290201

Comment:
Horrible typo in previous comment.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (2 preceding siblings ...)
  2020-04-25  0:26 ` Chocimier
@ 2020-04-25  2:39 ` fosslinux
  2020-04-25  6:36 ` fosslinux
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-25  2:39 UTC (permalink / raw)
  To: ml

[-- 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: 1346 bytes --]

From d815cdbf0dbe93c75841e5f73f45c62d71fed4df 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 | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..8315992da02 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -2,20 +2,22 @@
 pkgname=pygtk
 version=2.24.0
 revision=13
-lib32disabled=yes
 build_style=gnu-configure
 configure_args="PYTHON=python2"
+pycompile_module="gtk-2.0/gtk"
+pycompile_dirs="usr/lib/pygtk"
 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"
+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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (3 preceding siblings ...)
  2020-04-25  2:39 ` [PR PATCH] [Updated] " fosslinux
@ 2020-04-25  6:36 ` fosslinux
  2020-04-25  6:37 ` fosslinux
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-25  6:36 UTC (permalink / raw)
  To: ml

[-- 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: 1355 bytes --]

From b4884025a7734ae5d6a86a61f9e877f65d17818b 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 | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..5c285e96e3c 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -2,20 +2,22 @@
 pkgname=pygtk
 version=2.24.0
 revision=13
-lib32disabled=yes
 build_style=gnu-configure
 configure_args="PYTHON=python2"
+pycompile_module="gtk-2.0/gtk"
+pycompile_dirs="usr/lib/pygtk"
 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (4 preceding siblings ...)
  2020-04-25  6:36 ` fosslinux
@ 2020-04-25  6:37 ` fosslinux
  2020-04-25  7:49 ` Chocimier
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-25  6:37 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-619330747

Comment:
I believe xlint is wrong, but i am not sure.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (5 preceding siblings ...)
  2020-04-25  6:37 ` fosslinux
@ 2020-04-25  7:49 ` Chocimier
  2020-04-25 22:04 ` [PR PATCH] [Updated] " fosslinux
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2020-04-25  7:49 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-619337760

Comment:
Yes, xlint is wrong about `pycompile_module="gtk-2.0/gtk"`, it is set here to avoid compiling whole gtk-2.0 that is shared between packages,. Please add comment and ignore warning.
`pycompile_module="demos"` should be removed because demos is not in site-packages/; `pycompile_dirs="usr/lib/pygtk"` should be set here.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (6 preceding siblings ...)
  2020-04-25  7:49 ` Chocimier
@ 2020-04-25 22:04 ` fosslinux
  2020-04-25 22:05 ` fosslinux
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-25 22:04 UTC (permalink / raw)
  To: ml

[-- 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: 1725 bytes --]

From 5b207d04b2f6d7f84bfb6469cf28e30f40a8abd7 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 | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..5679380e9cd 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -2,20 +2,24 @@
 pkgname=pygtk
 version=2.24.0
 revision=13
-lib32disabled=yes
 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"
+pycompile_dirs="usr/lib/pygtk"
 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
@@ -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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (7 preceding siblings ...)
  2020-04-25 22:04 ` [PR PATCH] [Updated] " fosslinux
@ 2020-04-25 22:05 ` fosslinux
  2020-04-28 22:46 ` fosslinux
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-25 22:05 UTC (permalink / raw)
  To: ml

[-- 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: 1722 bytes --]

From 46a3ac83925da0568440af82768c79c99b567e59 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 | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..c94fdc14332 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -2,20 +2,24 @@
 pkgname=pygtk
 version=2.24.0
 revision=13
-lib32disabled=yes
 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"
+pycompile_dirs="usr/lib/pygtk"
 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
@@ -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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (8 preceding siblings ...)
  2020-04-25 22:05 ` fosslinux
@ 2020-04-28 22:46 ` fosslinux
  2020-04-28 22:47 ` fosslinux
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-28 22:46 UTC (permalink / raw)
  To: ml

[-- 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: 1722 bytes --]

From 46a3ac83925da0568440af82768c79c99b567e59 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 | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template
index cc5fada0451..c94fdc14332 100644
--- a/srcpkgs/pygtk/template
+++ b/srcpkgs/pygtk/template
@@ -2,20 +2,24 @@
 pkgname=pygtk
 version=2.24.0
 revision=13
-lib32disabled=yes
 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"
+pycompile_dirs="usr/lib/pygtk"
 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
@@ -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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (9 preceding siblings ...)
  2020-04-28 22:46 ` fosslinux
@ 2020-04-28 22:47 ` fosslinux
  2020-04-28 22:48 ` fosslinux
  2020-04-28 23:14 ` [PR PATCH] [Merged]: " Chocimier
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-28 22:47 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (10 preceding siblings ...)
  2020-04-28 22:47 ` fosslinux
@ 2020-04-28 22:48 ` fosslinux
  2020-04-28 23:14 ` [PR PATCH] [Merged]: " Chocimier
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-04-28 22:48 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/21318#issuecomment-620894912

Comment:
> Please revbump for pycompile_dirs.

Also done

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Merged]: pygtk: add python_version
  2020-04-24 22:54 [PR PATCH] pygtk: add python_version fosslinux
                   ` (11 preceding siblings ...)
  2020-04-28 22:48 ` fosslinux
@ 2020-04-28 23:14 ` Chocimier
  12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2020-04-28 23:14 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

pygtk: add python_version
https://github.com/void-linux/void-packages/pull/21318

Description:


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-04-28 23:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 22:54 [PR PATCH] pygtk: add python_version 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
2020-04-28 22:48 ` fosslinux
2020-04-28 23:14 ` [PR PATCH] [Merged]: " Chocimier

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).