[arch-commits] Commit in libsemigroups/repos (3 files)

2020-01-11 Thread Antonio Rojas via arch-commits
Date: Saturday, January 11, 2020 @ 23:08:37
  Author: arojas
Revision: 552112

archrelease: copy trunk to community-staging-x86_64

Added:
  libsemigroups/repos/community-staging-x86_64/
  libsemigroups/repos/community-staging-x86_64/PKGBUILD
(from rev 552111, libsemigroups/trunk/PKGBUILD)
  libsemigroups/repos/community-staging-x86_64/system-fmt.patch
(from rev 552111, libsemigroups/trunk/system-fmt.patch)

--+
 PKGBUILD |   24 
 system-fmt.patch |   38 ++
 2 files changed, 62 insertions(+)

Copied: libsemigroups/repos/community-staging-x86_64/PKGBUILD (from rev 552111, 
libsemigroups/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-11 23:08:37 UTC (rev 552112)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=libsemigroups
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="C++ library for semigroups and monoids"
+url="https://libsemigroups.github.io/libsemigroups/";
+arch=(x86_64)
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(fmt)
+source=(https://github.com/libsemigroups/libsemigroups/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('4956c868c41b3421da211f413b4b104b7882640ebb464314e8b12f7b6e10fcb0')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-external-fmt
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libsemigroups/repos/community-staging-x86_64/system-fmt.patch (from rev 
552111, libsemigroups/trunk/system-fmt.patch)
===
--- community-staging-x86_64/system-fmt.patch   (rev 0)
+++ community-staging-x86_64/system-fmt.patch   2020-01-11 23:08:37 UTC (rev 
552112)
@@ -0,0 +1,38 @@
+diff --git a/Makefile.am b/Makefile.am
+index 761a772..0a8391b 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -108,17 +108,6 @@ pkginclude_HEADERS += 
extern/HPCombi/include/vect_generic.hpp
+ endif
+ 
+ fmtincludedir = $(includedir)/fmt
+-fmtinclude_HEADERS =  extern/fmt-5.3.0/include/fmt/chrono.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/color.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/core.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format-inl.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/locale.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ostream.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/posix.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/printf.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ranges.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/time.h
+ 
+ lib_LTLIBRARIES = libsemigroups.la
+ 
+diff --git a/configure.ac b/configure.ac
+index c40acdb..832d8a3 100644
+--- a/configure.ac
 b/configure.ac
+@@ -212,11 +212,5 @@ AS_IF([test "x$enable_hpcombi" = xyes],
+ AM_CONDITIONAL([HPCOMBI_CONSTEXPR_FUN_ARGS], 
+[test "x$hpcombi_constexpr_fun_args" = xyes])
+ 
+-AC_CHECK_FILE([$srcdir/extern/fmt-5.3.0/README.rst], 
+-   [], 
+-   []
+-   [AC_MSG_ERROR([fmt-5.3.0 is not available, please download 
fmt-5.3.0 from https://fmt.dev/ and put the unpacked archive in the 
libsemigroups/extern directory])])
+-dnl Output configured files
+-
+ AC_CONFIG_FILES([Makefile libsemigroups.pc])
+ AC_OUTPUT


[arch-commits] Commit in libsemigroups/repos (3 files)

2019-11-27 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 27, 2019 @ 22:20:06
  Author: arojas
Revision: 534232

archrelease: copy trunk to community-staging-x86_64

Added:
  libsemigroups/repos/community-staging-x86_64/
  libsemigroups/repos/community-staging-x86_64/PKGBUILD
(from rev 534231, libsemigroups/trunk/PKGBUILD)
  libsemigroups/repos/community-staging-x86_64/system-fmt.patch
(from rev 534231, libsemigroups/trunk/system-fmt.patch)

--+
 PKGBUILD |   33 +
 system-fmt.patch |   38 ++
 2 files changed, 71 insertions(+)

Copied: libsemigroups/repos/community-staging-x86_64/PKGBUILD (from rev 534231, 
libsemigroups/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-27 22:20:06 UTC (rev 534232)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=libsemigroups
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="C++ library for semigroups and monoids"
+url="https://libsemigroups.github.io/libsemigroups/";
+arch=(x86_64)
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(fmt)
+source=(https://github.com/libsemigroups/libsemigroups/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+system-fmt.patch)
+sha256sums=('db58bddf29ef58b4caeba42fa7cf5e1b52406c6b5c5c6c23c7e9d571b3f3de48'
+'86c0ae8613df2959924d86c16874ee8d72288b10f87225c3909132b1d2a83fdf')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../system-fmt.patch
+  rm -r extern/fmt-*
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libsemigroups/repos/community-staging-x86_64/system-fmt.patch (from rev 
534231, libsemigroups/trunk/system-fmt.patch)
===
--- community-staging-x86_64/system-fmt.patch   (rev 0)
+++ community-staging-x86_64/system-fmt.patch   2019-11-27 22:20:06 UTC (rev 
534232)
@@ -0,0 +1,38 @@
+diff --git a/Makefile.am b/Makefile.am
+index 761a772..0a8391b 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -108,17 +108,6 @@ pkginclude_HEADERS += 
extern/HPCombi/include/vect_generic.hpp
+ endif
+ 
+ fmtincludedir = $(includedir)/fmt
+-fmtinclude_HEADERS =  extern/fmt-5.3.0/include/fmt/chrono.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/color.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/core.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format-inl.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/locale.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ostream.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/posix.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/printf.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ranges.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/time.h
+ 
+ lib_LTLIBRARIES = libsemigroups.la
+ 
+diff --git a/configure.ac b/configure.ac
+index c40acdb..832d8a3 100644
+--- a/configure.ac
 b/configure.ac
+@@ -212,11 +212,5 @@ AS_IF([test "x$enable_hpcombi" = xyes],
+ AM_CONDITIONAL([HPCOMBI_CONSTEXPR_FUN_ARGS], 
+[test "x$hpcombi_constexpr_fun_args" = xyes])
+ 
+-AC_CHECK_FILE([$srcdir/extern/fmt-5.3.0/README.rst], 
+-   [], 
+-   []
+-   [AC_MSG_ERROR([fmt-5.3.0 is not available, please download 
fmt-5.3.0 from https://fmt.dev/ and put the unpacked archive in the 
libsemigroups/extern directory])])
+-dnl Output configured files
+-
+ AC_CONFIG_FILES([Makefile libsemigroups.pc])
+ AC_OUTPUT