diff --git a/pkg.info b/pkg.info index 02c5000..e52b0b6 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,25 @@ name: python-pygobject description: Python package which provides bindings for GObject based libraries -version: 3.54.2 +version: 3.54.3 +revision: 1 url: https://pygobject.gnome.org/ license: LGPL2.1-or-later architecture: any -depends: ["glib","glibc","gobject-introspection","libffi","python3"] -optional_depends: ["python-pycairo"] -make_depends: ["meson","python-pycairo","python-setuptools"] type: source +depends: + - glib + - glibc + - gobject-introspection + - libffi + - python3 +optional_depends: + - python-pycairo +make_depends: + - meson + - python-pycairo + - python-setuptools +downloads: + - url: https://gitlab.gnome.org/GNOME/pygobject/-/archive/${BPM_PKG_VERSION}/pygobject-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 7dff932af05c988dfcaf985f14d6664aeff27cd7c0eb2b2428f8cdb169a3d96e diff --git a/source.sh b/source.sh index d0ce561..4dfe277 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://gitlab.gnome.org/GNOME/pygobject/-/archive/${BPM_PKG_VERSION}/pygobject-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {