upg cython gtk-doc vala

This commit is contained in:
joborun linux 2024-03-06 00:52:04 +02:00
parent 2120057707
commit d7374e5fe3
9 changed files with 76 additions and 49 deletions

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=cython
pkgver=3.0.8
pkgver=3.0.9
pkgrel=01
pkgdesc='C-Extensions for Python'
url='https://cython.org'
@ -60,9 +60,10 @@ package() {
arch=(x86_64)
license=(APACHE)
license=(Apache-2.0)
sha256sums=(b20cd126f40d78228c3ba101a7cfc0a3e8519de1bdc2a58f26aec5284c8f0340) # cython-3.0.8.tar.gz
sha256sums=(ca7758a3a87340a93f5bde4747e4a5ff1708cf2df407dee533b63ef6cc845777) # cython-3.0.9.tar.gz
## 07223536e83036fed823d1f5d15baf31c82d956952828d4de715a864722f69d4 cython-3.0.9-01-x86_64.pkg.tar.lz
## 64aabc34eae261db6dd5f55f00e4a88e691661ee28b24d9fe246c3198b963acf cython-3.0.8-01-x86_64.pkg.tar.lz

View File

@ -3,12 +3,12 @@
# Contributor: Igor Scabini <furester @ gmail.com>
pkgname=cython
pkgver=3.0.8
pkgver=3.0.9
pkgrel=1
pkgdesc='C-Extensions for Python'
arch=(x86_64)
url='https://cython.org'
license=(APACHE)
license=(Apache-2.0)
depends=(glibc
python)
replaces=(cython-dev)
@ -20,7 +20,7 @@ checkdepends=(gdb
python-numpy
python-pytest)
source=(https://github.com/cython/cython/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('b20cd126f40d78228c3ba101a7cfc0a3e8519de1bdc2a58f26aec5284c8f0340')
sha256sums=('ca7758a3a87340a93f5bde4747e4a5ff1708cf2df407dee533b63ef6cc845777')
build() {
cd cython-$pkgver

View File

@ -0,0 +1,35 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 18 Jul 2023 03:46:01 +0200
Subject: [PATCH] Fix tests
---
tests/gobject/docs/meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/gobject/docs/meson.build b/tests/gobject/docs/meson.build
index a1dd66cadf09..2af2cf48caf5 100644
--- a/tests/gobject/docs/meson.build
+++ b/tests/gobject/docs/meson.build
@@ -5,6 +5,13 @@ gobject_test_source_dir = join_paths(
'src'
)
+gobject_test_examples_dir = join_paths(
+ srcdir,
+ 'tests',
+ 'gobject',
+ 'examples'
+)
+
gobject_test_docs_dir = join_paths(
srcdir,
'tests',
@@ -119,6 +126,7 @@ test(
'--path=@0@'.format(':'.join([
gobject_test_docs_dir,
srcdir,
+ gobject_test_examples_dir,
])
),
],

View File

@ -6,32 +6,28 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gtk-doc
pkgver=1.33.2
pkgrel=03
pkgver=1.34.0
pkgrel=01
pkgdesc="Documentation tool for public library API"
url="https://www.gtk.org/gtk-doc/"
depends=(docbook-xsl docbook-xml glib2-docs python-lxml python-pygments)
makedepends=(dblatex git yelp-tools meson)
checkdepends=(bc gtk3 python-six python-parameterized)
optdepends=('dblatex: PDF support')
_commit=14391142ee9d43da116f0f530746ae34cc46930a # tags/1.33.2^0
_commit=b7c8317bf023b5116250b4c5381737d5b9786976 # tags/1.34.0^0
source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"
0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
0002-Fix-tests.patch)
0001-Fix-tests.patch)
pkgver() {
cd $pkgname
git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/-/+/g'
git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
# https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/58
git apply -3 ../0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
# test-gobject-mkhtml: ../xml/object.xml:139: element include: XInclude error : could not load ../../exampl>
git apply -3 ../0002-Fix-tests.patch
git apply -3 ../0001-Fix-tests.patch
}
@ -46,8 +42,8 @@ check() {
package() {
DESTDIR="$pkgdir" meson install -C build
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
# python -m compileall -d /usr/lib "$pkgdir/usr/lib"
# python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
@ -55,15 +51,10 @@ package() {
arch=(x86_64)
license=(GPL FDL)
license=(GFDL-1.1-or-later GPL-2.0-or-later)
sha256sums=(SKIP
5697a9965f3d91a5635a4b46d59bf2edd3e73f0cff1ba2d9f70d401262982683 # 0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
fbb9d43c70b6816b6527e14676339685d0f41920f2d595048ca2f3e9193ae235) # 0002-Fix-tests.patch
fbb9d43c70b6816b6527e14676339685d0f41920f2d595048ca2f3e9193ae235) # 0001-Fix-tests.patch
b2sums=('SKIP'
'82161f0f0860e9b21748b6aadf3dd7017f4541240aa3b0d54bdec74d1b6b8e771a1ab74bc0420899d09b7125361c3fcc2acb15bdf0a3fef8753a08a0992a5eb0'
'aec43a320f2c687a8c3529eb0b396dcf318b08fec8dcae06d3c2ab0ddeed04e1d324bac158cc15a50ddae768b42a815742a86c24917b295f3c3f6f2d7ad225c7')
## ddcb7f5728eca798643234230a04cd778340522b5a6ecca8484895c9ed4c55a4 gtk-doc-1.33.2-03-x86_64.pkg.tar.lz
## fdb8209699f1fd53d57dadb2f2be9ba8b598d9bff06f3bb9cad8b5c3fa3a7b6b gtk-doc-1.34.0-01-x86_64.pkg.tar.lz

View File

@ -2,14 +2,14 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gtk-doc
pkgver=1.33.2
pkgrel=3
pkgver=1.34.0
pkgrel=1
pkgdesc="Documentation tool for public library API"
url="https://www.gtk.org/gtk-doc/"
arch=(any)
license=(
FDL
GPL
GFDL-1.1-or-later
GPL-2.0-or-later
)
depends=(
docbook-xml
@ -31,29 +31,24 @@ checkdepends=(
python-six
)
optdepends=('dblatex: PDF support')
_commit=14391142ee9d43da116f0f530746ae34cc46930a # tags/1.33.2^0
_commit=b7c8317bf023b5116250b4c5381737d5b9786976 # tags/1.34.0^0
source=(
"git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit"
0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
0002-Fix-tests.patch
0001-Fix-tests.patch
)
b2sums=('SKIP'
'82161f0f0860e9b21748b6aadf3dd7017f4541240aa3b0d54bdec74d1b6b8e771a1ab74bc0420899d09b7125361c3fcc2acb15bdf0a3fef8753a08a0992a5eb0'
'aec43a320f2c687a8c3529eb0b396dcf318b08fec8dcae06d3c2ab0ddeed04e1d324bac158cc15a50ddae768b42a815742a86c24917b295f3c3f6f2d7ad225c7')
pkgver() {
cd gtk-doc
git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/-/+/g'
git describe --tags | sed 's/GTK_DOC_//;s/_/\./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gtk-doc
# https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/58
git apply -3 ../0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
# test-gobject-mkhtml: ../xml/object.xml:139: element include: XInclude error : could not load ../../examples/gobject.c, and no fallback was found
git apply -3 ../0002-Fix-tests.patch
git apply -3 ../0001-Fix-tests.patch
}
build() {
@ -67,8 +62,6 @@ check() {
package() {
meson install -C build --destdir "$pkgdir"
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
# vim:set sw=2 sts=-1 et:

View File

@ -13,5 +13,9 @@ python-six
python-parameterized
gettext
at-spi2-core
graphite
libjpeg-turbo
rav1e
libglvnd

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=vala
pkgver=0.56.14
pkgver=0.56.15
pkgrel=01
pkgdesc='Compiler for the GObject type system'
url='https://wiki.gnome.org/Projects/Vala'
@ -17,7 +17,7 @@ provides=(valadoc libvala{,doc}-${pkgver%.*}.so )
conflicts=(valadoc)
replaces=(valadoc)
#options=(debug) ## uncomment this to have the debug package produced
_commit=c36a694d9bf09b622aac7f9b9e0af70c966b721e # tags/0.56.14^0
_commit=e36129c136c1d727b428302e51548b55ec0251bf # tags/0.56.15^0
source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit")
pkgver() {
@ -51,9 +51,9 @@ package() {
arch=(x86_64)
license=(LGPL)
license=(LGPL-2.1-or-later)
sha256sums=(SKIP)
## f0f574d34ac73b03ff29fb2dbb0e5a53f647e3d44e26b0a9ef5d59ed53adc796 vala-0.56.14-01-x86_64.pkg.tar.lz
## 33878232d01a395e5674c1fe5ac305fea3d4ead7a3bac4b7edca54d508840eeb vala-0.56.15-01-x86_64.pkg.tar.lz

View File

@ -4,12 +4,12 @@
# Contributor: Timm Preetz <timm@preetz.us>
pkgname=vala
pkgver=0.56.14
pkgver=0.56.15
pkgrel=1
pkgdesc='Compiler for the GObject type system'
url='https://wiki.gnome.org/Projects/Vala'
arch=(x86_64)
license=(LGPL)
license=(LGPL-2.1-or-later)
depends=(
gcc
glib2
@ -36,7 +36,7 @@ provides=(
)
conflicts=(valadoc)
replaces=(valadoc)
_commit=c36a694d9bf09b622aac7f9b9e0af70c966b721e # tags/0.56.14^0
_commit=e36129c136c1d727b428302e51548b55ec0251bf # tags/0.56.15^0
source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit")
b2sums=('SKIP')

View File

@ -14,5 +14,8 @@ libjpeg-turbo
libgit2
gettext
byacc
graphite
rav1e
dbus