Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesP/pygobject.git

subrepo:
  subdir:   "pygobject"
  merged:   "a0455fb"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesP/pygobject.git"
  branch:   "master"
  commit:   "a0455fb"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
241622c9af
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      pygobject/.artixlinux/agent.yaml
  2. 33
      pygobject/.gitignore
  3. 12
      pygobject/.gitrepo
  4. 3
      pygobject/Jenkinsfile
  5. 2
      pygobject/README.md
  6. 83
      pygobject/repos/extra-x86_64/PKGBUILD
  7. 83
      pygobject/trunk/PKGBUILD

5
pygobject/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
pygobject/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
pygobject/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesP/pygobject.git
branch = master
commit = a0455fba0fec18d41961c076b03bb455ee86fcf9
parent = 0e0ebd29cb16781f86ad22032a612fb1bd1f5fac
method = merge
cmdver = 0.4.0

3
pygobject/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
pygobject/README.md

@ -0,0 +1,2 @@
# pygobject

83
pygobject/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,83 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=pygobject
pkgname=(python-gobject python2-gobject pygobject-devel)
pkgver=3.32.2
pkgrel=1
pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
url="https://wiki.gnome.org/Projects/PyGObject"
arch=(x86_64)
license=(LGPL)
depends=(gobject-introspection-runtime)
makedepends=(python{,2}-cairo gobject-introspection git meson)
checkdepends=(python{,2}-pytest gtk3 xorg-server-xvfb)
optdepends=('cairo: Cairo bindings')
_commit=16cc7953d7704db76f78304cfeee45556fc999d7 # tags/3.32.2^0
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgbase
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
}
_build() {
arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
ninja -C build-$1
}
_check() {
xvfb-run meson test -C build-$1 --print-errorlogs
}
_package() {
DESTDIR="$pkgdir" meson install -C build-$1
$1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
$1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
build() {
_build python
_build python2
}
check() {
_check python
_check python2
}
package_python-gobject() {
depends=("pygobject-devel=$pkgver" python)
_package python
### Split -devel
mkdir -p "$srcdir/devel"
mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
}
package_python2-gobject() {
pkgdesc="${pkgdesc/Python/Python2}"
depends=("pygobject-devel=$pkgver" python2)
_package python2
### Remove -devel
rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
}
package_pygobject-devel() {
pkgdesc="Common development files for pygobject"
optdepends=()
mkdir -p "$pkgdir/usr/lib"
mv devel/include "$pkgdir/usr"
mv devel/pkgconfig "$pkgdir/usr/lib"
}
# vim:set sw=2 et:

83
pygobject/trunk/PKGBUILD

@ -0,0 +1,83 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=pygobject
pkgname=(python-gobject python2-gobject pygobject-devel)
pkgver=3.32.2
pkgrel=1
pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
url="https://wiki.gnome.org/Projects/PyGObject"
arch=(x86_64)
license=(LGPL)
depends=(gobject-introspection-runtime)
makedepends=(python{,2}-cairo gobject-introspection git meson)
checkdepends=(python{,2}-pytest gtk3 xorg-server-xvfb)
optdepends=('cairo: Cairo bindings')
_commit=16cc7953d7704db76f78304cfeee45556fc999d7 # tags/3.32.2^0
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgbase
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
}
_build() {
arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
ninja -C build-$1
}
_check() {
xvfb-run meson test -C build-$1 --print-errorlogs
}
_package() {
DESTDIR="$pkgdir" meson install -C build-$1
$1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
$1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
build() {
_build python
_build python2
}
check() {
_check python
_check python2
}
package_python-gobject() {
depends=("pygobject-devel=$pkgver" python)
_package python
### Split -devel
mkdir -p "$srcdir/devel"
mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
}
package_python2-gobject() {
pkgdesc="${pkgdesc/Python/Python2}"
depends=("pygobject-devel=$pkgver" python2)
_package python2
### Remove -devel
rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
}
package_pygobject-devel() {
pkgdesc="Common development files for pygobject"
optdepends=()
mkdir -p "$pkgdir/usr/lib"
mv devel/include "$pkgdir/usr"
mv devel/pkgconfig "$pkgdir/usr/lib"
}
# vim:set sw=2 et:
Loading…
Cancel
Save