[arch-commits] Commit in fmt/repos (5 files)

Maxime Gauduin alucryd at archlinux.org
Mon Aug 10 08:38:18 UTC 2020


    Date: Monday, August 10, 2020 @ 08:38:18
  Author: alucryd
Revision: 393499

db-move: moved fmt from [testing] to [extra] (x86_64)

Added:
  fmt/repos/extra-x86_64/PKGBUILD
    (from rev 393498, fmt/repos/testing-x86_64/PKGBUILD)
  fmt/repos/extra-x86_64/dont-install-doctrees.patch
    (from rev 393498, fmt/repos/testing-x86_64/dont-install-doctrees.patch)
Deleted:
  fmt/repos/extra-x86_64/PKGBUILD
  fmt/repos/extra-x86_64/dont-install-doctrees.patch
  fmt/repos/testing-x86_64/

------------------------------------------+
 /PKGBUILD                                |   56 +++++++++++++++++++++++++
 /dont-install-doctrees.patch             |   24 +++++++++++
 extra-x86_64/PKGBUILD                    |   63 -----------------------------
 extra-x86_64/dont-install-doctrees.patch |   24 -----------
 4 files changed, 80 insertions(+), 87 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2020-08-10 08:38:17 UTC (rev 393498)
+++ extra-x86_64/PKGBUILD	2020-08-10 08:38:18 UTC (rev 393499)
@@ -1,63 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
-
-pkgname=fmt
-pkgver=6.2.1
-pkgrel=3
-pkgdesc='Open-source formatting library for C++'
-arch=(x86_64)
-url=https://fmt.dev
-license=(BSD)
-depends=(gcc-libs)
-makedepends=(
-  cmake
-  doxygen
-  git
-  ninja
-  npm
-  python-pip
-  python-virtualenv
-)
-provides=(libfmt.so)
-source=(git+https://github.com/fmtlib/fmt.git#tag=19bd751020a1f3c3363b2eb67a039852f139a8d3
-        dont-install-doctrees.patch) # https://github.com/fmtlib/fmt/commit/8f2b5fe74d34ba8bb20a362a4daa6cc5a99a2010
-
-
-pkgver() {
-  cd fmt
-
-  git describe --tags
-}
-
-prepare() {
-  npm install less less-plugin-clean-css
-  sed "s/'lessc',/'npx', 'lessc',/" -i fmt/doc/build.py
-
-  # Don't install sphinx cache doctrees directory
-  cd fmt
-  patch -Np1 -i ${srcdir}/dont-install-doctrees.patch
-}
-
-build() {
-  cmake -S fmt -B build \
-    -G Ninja \
-    -DCMAKE_BUILD_TYPE=None \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-    -DBUILD_SHARED_LIBS=1
-  cmake --build build
-  cmake --build build --target doc
-}
-
-check() {
-  cmake --build build --target test
-}
-
-package() {
-  DESTDIR="${pkgdir}" cmake --build build --target install
-  install -Dm 644 fmt/LICENSE.rst -t "${pkgdir}"/usr/share/licenses/fmt
-}
-
-# vim: ts=2 sw=2 et:
-md5sums=('SKIP'
-         'f29b10877482313f98456cc2674c0c37')

Copied: fmt/repos/extra-x86_64/PKGBUILD (from rev 393498, fmt/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-08-10 08:38:18 UTC (rev 393499)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Mihai Bişog <mihai.bisog at gmail.com>
+
+pkgname=fmt
+pkgver=7.0.2
+pkgrel=1
+pkgdesc='Open-source formatting library for C++'
+arch=(x86_64)
+url=https://fmt.dev
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(
+  cmake
+  doxygen
+  git
+  ninja
+  npm
+  python-pip
+  python-virtualenv
+)
+provides=(libfmt.so)
+_tag=b9d749095e3397f154e2938f96dd11912f2d9300
+source=(git+https://github.com/fmtlib/fmt.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd fmt
+
+  git describe --tags
+}
+
+prepare() {
+  npm install less less-plugin-clean-css
+  sed "s/'lessc',/'npx', 'lessc',/" -i fmt/doc/build.py
+}
+
+build() {
+  cmake -S fmt -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=1
+  cmake --build build
+  cmake --build build --target doc
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --build build --target install
+  install -Dm 644 fmt/LICENSE.rst -t "${pkgdir}"/usr/share/licenses/fmt
+}
+
+# vim: ts=2 sw=2 et:

Deleted: extra-x86_64/dont-install-doctrees.patch
===================================================================
--- extra-x86_64/dont-install-doctrees.patch	2020-08-10 08:38:17 UTC (rev 393498)
+++ extra-x86_64/dont-install-doctrees.patch	2020-08-10 08:38:18 UTC (rev 393499)
@@ -1,24 +0,0 @@
-From 8f2b5fe74d34ba8bb20a362a4daa6cc5a99a2010 Mon Sep 17 00:00:00 2001
-From: Jelle van der Waa <jelle at vdwaa.nl>
-Date: Fri, 29 May 2020 23:19:16 +0200
-Subject: [PATCH] Don't install sphinx cache files
-
-When building documentation sphinx creates cached files in the .doctrees
-directory and aren't required for viewing documentation only for
-building. As added benefit this makes fmt reprodcubile as the cached
-files are different when the build environment is varied.
----
- doc/CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
-index f3dae606e..108aa71e8 100644
---- a/doc/CMakeLists.txt
-+++ b/doc/CMakeLists.txt
-@@ -9,4 +9,5 @@ add_custom_target(doc
-   SOURCES api.rst syntax.rst usage.rst build.py conf.py _templates/layout.html)
- 
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
--        DESTINATION share/doc/fmt OPTIONAL)
-+        DESTINATION share/doc/fmt OPTIONAL
-+        PATTERN ".doctrees" EXCLUDE)

Copied: fmt/repos/extra-x86_64/dont-install-doctrees.patch (from rev 393498, fmt/repos/testing-x86_64/dont-install-doctrees.patch)
===================================================================
--- extra-x86_64/dont-install-doctrees.patch	                        (rev 0)
+++ extra-x86_64/dont-install-doctrees.patch	2020-08-10 08:38:18 UTC (rev 393499)
@@ -0,0 +1,24 @@
+From 8f2b5fe74d34ba8bb20a362a4daa6cc5a99a2010 Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Fri, 29 May 2020 23:19:16 +0200
+Subject: [PATCH] Don't install sphinx cache files
+
+When building documentation sphinx creates cached files in the .doctrees
+directory and aren't required for viewing documentation only for
+building. As added benefit this makes fmt reprodcubile as the cached
+files are different when the build environment is varied.
+---
+ doc/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
+index f3dae606e..108aa71e8 100644
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -9,4 +9,5 @@ add_custom_target(doc
+   SOURCES api.rst syntax.rst usage.rst build.py conf.py _templates/layout.html)
+ 
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
+-        DESTINATION share/doc/fmt OPTIONAL)
++        DESTINATION share/doc/fmt OPTIONAL
++        PATTERN ".doctrees" EXCLUDE)



More information about the arch-commits mailing list