[arch-commits] Commit in rapidyaml/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Apr 26 09:15:55 UTC 2022


    Date: Tuesday, April 26, 2022 @ 09:15:55
  Author: alucryd
Revision: 1190946

archrelease: copy trunk to community-x86_64

Added:
  rapidyaml/repos/community-x86_64/PKGBUILD
    (from rev 1190945, rapidyaml/trunk/PKGBUILD)
Deleted:
  rapidyaml/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  176 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 88 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-26 09:15:48 UTC (rev 1190945)
+++ PKGBUILD	2022-04-26 09:15:55 UTC (rev 1190946)
@@ -1,88 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: xiretza <xiretza+aur at xiretza.xyz>
-
-pkgbase=rapidyaml
-pkgname=(
-  rapidyaml
-  python-rapidyaml
-)
-pkgver=0.3.0
-pkgrel=3
-pkgdesc='A library to parse and emit YAML, and do it fast'
-arch=(x86_64)
-url='https://github.com/biojppm/rapidyaml'
-license=(MIT)
-makedepends=(
-  cmake
-  git
-  ninja
-  python-setuptools
-  python-setuptools-git
-  python-setuptools-scm
-  python-cmake-build-extension
-  swig
-)
-_tag=ee581f85707da11eb25e48fc0b7f161167d58a7e
-source=(
-  git+https://github.com/biojppm/rapidyaml.git#tag=${_tag}
-  git+https://github.com/biojppm/c4core.git
-  c4core-cmake::git+https://github.com/biojppm/cmake.git
-)
-b2sums=('SKIP'
-        'SKIP'
-        'SKIP')
-
-pkgver() {
-  cd rapidyaml
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd rapidyaml
-  git submodule init
-  git config submodule.extern/c4core.url "${srcdir}"/c4core
-  git submodule update
-  cd ext/c4core
-  git submodule init
-  git config submodule.cmake.url "${srcdir}"/c4core-cmake
-  git submodule update
-}
-
-build() {
-  cmake -B build -S rapidyaml -G Ninja \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_SHARED_LIBS=ON \
-    -DRYML_BUILD_API=ON
-  cmake --build build
-  cd rapidyaml
-  python setup.py build
-}
-
-package_rapidyaml() {
-  depends=(
-    gcc-libs
-    glibc
-  )
-  provides=(
-    libc4core.so
-    libryml.so
-  )
-
-  DESTDIR="${pkgdir}" cmake --install build
-  rm "${pkgdir}"/usr/{_ryml.so,ryml.py}
-  install -Dm 644 rapidyaml/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/rapidyaml/
-}
-
-package_python-rapidyaml() {
-  depends=(
-    gcc-libs
-    glibc
-    python
-  )
-
-  cd rapidyaml
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-rapidyaml
-}
-
-# vim: ts=2 sw=2 et:

Copied: rapidyaml/repos/community-x86_64/PKGBUILD (from rev 1190945, rapidyaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-26 09:15:55 UTC (rev 1190946)
@@ -0,0 +1,88 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: xiretza <xiretza+aur at xiretza.xyz>
+
+pkgbase=rapidyaml
+pkgname=(
+  rapidyaml
+  python-rapidyaml
+)
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='A library to parse and emit YAML, and do it fast'
+arch=(x86_64)
+url='https://github.com/biojppm/rapidyaml'
+license=(MIT)
+makedepends=(
+  cmake
+  git
+  ninja
+  python-setuptools
+  python-setuptools-git
+  python-setuptools-scm
+  python-cmake-build-extension
+  swig
+)
+_tag=213b201d264139cd1b887790197e08850af628e3
+source=(
+  git+https://github.com/biojppm/rapidyaml.git#tag=${_tag}
+  git+https://github.com/biojppm/c4core.git
+  c4core-cmake::git+https://github.com/biojppm/cmake.git
+)
+b2sums=('SKIP'
+        'SKIP'
+        'SKIP')
+
+pkgver() {
+  cd rapidyaml
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd rapidyaml
+  git submodule init
+  git config submodule.extern/c4core.url "${srcdir}"/c4core
+  git submodule update
+  cd ext/c4core
+  git submodule init
+  git config submodule.cmake.url "${srcdir}"/c4core-cmake
+  git submodule update
+}
+
+build() {
+  cmake -B build -S rapidyaml -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DRYML_BUILD_API=ON
+  cmake --build build
+  cd rapidyaml
+  python setup.py build
+}
+
+package_rapidyaml() {
+  depends=(
+    gcc-libs
+    glibc
+  )
+  provides=(
+    libc4core.so
+    libryml.so
+  )
+
+  DESTDIR="${pkgdir}" cmake --install build
+  rm "${pkgdir}"/usr/{_ryml.so,ryml.py}
+  install -Dm 644 rapidyaml/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/rapidyaml/
+}
+
+package_python-rapidyaml() {
+  depends=(
+    gcc-libs
+    glibc
+    python
+  )
+
+  cd rapidyaml
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-rapidyaml
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list