[arch-commits] Commit in python-pynest2d/repos/community-staging-x86_64 (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 21:53:29 UTC 2021


    Date: Thursday, December 2, 2021 @ 21:53:29
  Author: felixonmars
Revision: 1062727

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pynest2d/repos/community-staging-x86_64/PKGBUILD
    (from rev 1062725, python-pynest2d/trunk/PKGBUILD)
  python-pynest2d/repos/community-staging-x86_64/fix-cpp-version.patch
    (from rev 1062725, python-pynest2d/trunk/fix-cpp-version.patch)
Deleted:
  python-pynest2d/repos/community-staging-x86_64/PKGBUILD
  python-pynest2d/repos/community-staging-x86_64/fix-cpp-version.patch

-----------------------+
 PKGBUILD              |   62 ++++++++++++++++++++++++------------------------
 fix-cpp-version.patch |   22 ++++++++---------
 2 files changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 21:53:25 UTC (rev 1062726)
+++ PKGBUILD	2021-12-02 21:53:29 UTC (rev 1062727)
@@ -1,31 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=python-pynest2d
-pkgver=4.10.0
-pkgrel=2
-pkgdesc="Python bindings for libnest2d"
-arch=(x86_64)
-url="https://github.com/Ultimaker/pynest2d"
-license=("LGPL")
-depends=(python polyclipping nlopt)
-makedepends=(sip4 cmake boost libnest2d)
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Ultimaker/pynest2d/archive/${pkgver}.tar.gz fix-cpp-version.patch)
-sha512sums=('62a3c6266bf3c4e7f806d9674debe6872917af422443dd5e9c54a430bf95190fb00cf6dd3fd4e66572f266a673f4cf1500a3d42565cfd1cf2ce4e288b7db2acc'
-            '0d01349a110bc2cde6b7279ba8b8d60cd71c599fe10054e4082aac86bf4e30184959dcfcc795a63ae7517845c014b14db029a6070833696191d874dbfa24ed30')
-
-prepare() {
-  cd pynest2d-${pkgver}
-  patch -Np1 -i ${srcdir}/fix-cpp-version.patch
-
-  mkdir build
-}
-
-build() {
-  cd pynest2d-${pkgver}/build
-  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-}
-
-package() {
-  cd pynest2d-${pkgver}/build
-  make DESTDIR="${pkgdir}" install
-}

Copied: python-pynest2d/repos/community-staging-x86_64/PKGBUILD (from rev 1062725, python-pynest2d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 21:53:29 UTC (rev 1062727)
@@ -0,0 +1,31 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-pynest2d
+pkgver=4.10.0
+pkgrel=3
+pkgdesc="Python bindings for libnest2d"
+arch=(x86_64)
+url="https://github.com/Ultimaker/pynest2d"
+license=("LGPL")
+depends=(python polyclipping nlopt)
+makedepends=(sip4 cmake boost libnest2d)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Ultimaker/pynest2d/archive/${pkgver}.tar.gz fix-cpp-version.patch)
+sha512sums=('62a3c6266bf3c4e7f806d9674debe6872917af422443dd5e9c54a430bf95190fb00cf6dd3fd4e66572f266a673f4cf1500a3d42565cfd1cf2ce4e288b7db2acc'
+            '0d01349a110bc2cde6b7279ba8b8d60cd71c599fe10054e4082aac86bf4e30184959dcfcc795a63ae7517845c014b14db029a6070833696191d874dbfa24ed30')
+
+prepare() {
+  cd pynest2d-${pkgver}
+  patch -Np1 -i ${srcdir}/fix-cpp-version.patch
+
+  mkdir build
+}
+
+build() {
+  cd pynest2d-${pkgver}/build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+  cd pynest2d-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+}

Deleted: fix-cpp-version.patch
===================================================================
--- fix-cpp-version.patch	2021-12-02 21:53:25 UTC (rev 1062726)
+++ fix-cpp-version.patch	2021-12-02 21:53:29 UTC (rev 1062727)
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,7 +17,7 @@ find_package(Boost REQUIRED)  # Dependency of libnest2d.
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZERS_nlopt -DLIBNEST2D_THREADING_std")  # Tell libnest2d to use Clipper and NLopt, and standard threads.
-
- # Some build options.
--set(CMAKE_CXX_STANDARD 11)
-+set(CMAKE_CXX_STANDARD 14)
- if(APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
- endif()

Copied: python-pynest2d/repos/community-staging-x86_64/fix-cpp-version.patch (from rev 1062725, python-pynest2d/trunk/fix-cpp-version.patch)
===================================================================
--- fix-cpp-version.patch	                        (rev 0)
+++ fix-cpp-version.patch	2021-12-02 21:53:29 UTC (rev 1062727)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@ find_package(Boost REQUIRED)  # Dependency of libnest2d.
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZERS_nlopt -DLIBNEST2D_THREADING_std")  # Tell libnest2d to use Clipper and NLopt, and standard threads.
+
+ # Some build options.
+-set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 14)
+ if(APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
+ endif()



More information about the arch-commits mailing list