Skip to content

Commit

Permalink
py-gobject3: fix 36; drop unused 37, 38
Browse files Browse the repository at this point in the history
  • Loading branch information
mascguy committed Mar 8, 2025
1 parent c9b4fe1 commit c7fef8a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions python/py-gobject3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

PortSystem 1.0
PortGroup python 1.0
PortGroup meson 1.0

name py-gobject3
set my_name pygobject
Expand All @@ -12,19 +11,20 @@ revision 0
categories-append gnome
license LGPL-2.1+
maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
description Python bindings for GObject, version 3

description Python bindings for GObject, version 3
long_description PyGObject is a Python dynamic module that enables developers to use the \
power of GObject, which is part of the GNOME platform.

homepage https://pygobject.readthedocs.io/

use_xz yes

checksums rmd160 8a797437434ed98e0d957815ec77f85cffcb7ca9 \
sha256 8d836e75b5a881d457ee1622cae4a32bcdba28a0ba562193adb3bbb472472212 \
size 929848

python.versions 36 37 38 39 310 311 312 313
# Note: 3.6 needed for a few old Gnome ports, remove once those have been migrated to 3.9+
python.versions 36 39 310 311 312 313
python.pep517 no

if {${name} ne ${subport}} {
Expand All @@ -35,6 +35,9 @@ if {${name} ne ${subport}} {
checksums rmd160 6c6eb71defdef6095371bcddc33faf4db4e856e9 \
sha256 3c6805d1321be90cc32e648215a562430e0d3d6edcda8f4c5e7a9daffcad5710 \
size 559432
} else {
# Note: 3.6 is the only version that does not use Meson
PortGroup meson 1.0
}

set branch [join [lrange [split ${version} .] 0 1] .]
Expand Down

0 comments on commit c7fef8a

Please sign in to comment.