Browse Source

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

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

5
pygobject2/.artixlinux/agent.yaml

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

33
pygobject2/.gitignore vendored

@ -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
pygobject2/.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/pygobject2.git
branch = master
commit = 8d3b822ab7a6e60dafadca67853704f86eb0c0f4
parent = 241622c9af067cb4dd02c44333877cd9beb263f2
method = merge
cmdver = 0.4.0

3
pygobject2/Jenkinsfile vendored

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

2
pygobject2/README.md

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

70
pygobject2/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,70 @@
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=pygobject2
pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
pkgver=2.28.7
pkgrel=2
pkgdesc="Python bindings for GObject (legacy)"
url="http://www.pygtk.org/"
arch=(x86_64)
license=(LGPL)
depends=(glib2)
makedepends=(python python2 git)
options=(!emptydirs)
_commit=c9594b6a91e6ca2086fedec2ed8249e0a9c029fc # tags/PYGOBJECT_2_28_7^0
source=("git+https://git.gnome.org/browse/pygobject#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd pygobject
git describe --tags | sed 's/^PYGOBJECT_//;s/_/./g;s/-/+/g'
}
prepare() {
mkdir build-py{2,3} devel
cd pygobject
find . \( -name '*.py' -o -name '*.py.in' \) -exec sed -i '1s|python$|&2|' {} +
autoreconf -fvi
}
_build() (
cd build-py$1
../pygobject/configure --prefix=/usr --disable-introspection PYTHON=/usr/bin/python$1
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
)
build() {
_build 2
_build 3
}
package_python-gobject2() {
depends=("pygobject2-devel=$pkgver" python)
cd build-py3
make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{include,lib/pkgconfig,share/pygobject/xsl}
rm -r "$pkgdir"/usr/share/gtk-doc
}
package_python2-gobject2() {
pkgdesc="${pkgdesc/Python/Python2}"
depends=("pygobject2-devel=$pkgver" python2)
cd build-py2
make DESTDIR="$pkgdir" install
mv "$pkgdir"/usr/{include,lib/pkgconfig,share/pygobject/xsl} "$srcdir/devel"
rm -r "$pkgdir"/usr/share/gtk-doc
}
package_pygobject2-devel() {
pkgdesc="Common development files for pygobject2"
cd devel
mkdir -p "$pkgdir"/usr/{lib,share/pygobject}
mv include "$pkgdir/usr/"
mv pkgconfig "$pkgdir/usr/lib/"
mv xsl "$pkgdir/usr/share/pygobject/"
}

70
pygobject2/trunk/PKGBUILD

@ -0,0 +1,70 @@
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=pygobject2
pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
pkgver=2.28.7
pkgrel=2
pkgdesc="Python bindings for GObject (legacy)"
url="http://www.pygtk.org/"
arch=(x86_64)
license=(LGPL)
depends=(glib2)
makedepends=(python python2 git)
options=(!emptydirs)
_commit=c9594b6a91e6ca2086fedec2ed8249e0a9c029fc # tags/PYGOBJECT_2_28_7^0
source=("git+https://git.gnome.org/browse/pygobject#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd pygobject
git describe --tags | sed 's/^PYGOBJECT_//;s/_/./g;s/-/+/g'
}
prepare() {
mkdir build-py{2,3} devel
cd pygobject
find . \( -name '*.py' -o -name '*.py.in' \) -exec sed -i '1s|python$|&2|' {} +
autoreconf -fvi
}
_build() (
cd build-py$1
../pygobject/configure --prefix=/usr --disable-introspection PYTHON=/usr/bin/python$1
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
)
build() {
_build 2
_build 3
}
package_python-gobject2() {
depends=("pygobject2-devel=$pkgver" python)
cd build-py3
make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{include,lib/pkgconfig,share/pygobject/xsl}
rm -r "$pkgdir"/usr/share/gtk-doc
}
package_python2-gobject2() {
pkgdesc="${pkgdesc/Python/Python2}"
depends=("pygobject2-devel=$pkgver" python2)
cd build-py2
make DESTDIR="$pkgdir" install
mv "$pkgdir"/usr/{include,lib/pkgconfig,share/pygobject/xsl} "$srcdir/devel"
rm -r "$pkgdir"/usr/share/gtk-doc
}
package_pygobject2-devel() {
pkgdesc="Common development files for pygobject2"
cd devel
mkdir -p "$pkgdir"/usr/{lib,share/pygobject}
mv include "$pkgdir/usr/"
mv pkgconfig "$pkgdir/usr/lib/"
mv xsl "$pkgdir/usr/share/pygobject/"
}
Loading…
Cancel
Save