[arch-commits] Commit in planarity/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 28 20:35:29 UTC 2017


    Date: Saturday, January 28, 2017 @ 20:35:29
  Author: arojas
Revision: 209316

archrelease: copy trunk to community-i686, community-x86_64

Added:
  planarity/repos/community-i686/PKGBUILD
    (from rev 209315, planarity/trunk/PKGBUILD)
  planarity/repos/community-x86_64/PKGBUILD
    (from rev 209315, planarity/trunk/PKGBUILD)
Deleted:
  planarity/repos/community-i686/PKGBUILD
  planarity/repos/community-i686/no-nauty.patch
  planarity/repos/community-x86_64/PKGBUILD
  planarity/repos/community-x86_64/no-nauty.patch

---------------------------------+
 /PKGBUILD                       |   56 ++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD         |   35 -----------------------
 community-i686/no-nauty.patch   |   27 ------------------
 community-x86_64/PKGBUILD       |   35 -----------------------
 community-x86_64/no-nauty.patch |   27 ------------------
 5 files changed, 56 insertions(+), 124 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-01-28 20:34:51 UTC (rev 209315)
+++ community-i686/PKGBUILD	2017-01-28 20:35:29 UTC (rev 209316)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=planarity
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="A library for implementing graph algorithms"
-arch=(i686 x86_64)
-url="https://code.google.com/p/planarity/"
-license=(BSD)
-depends=(glibc)
-makedepends=()
-source=("http://mirrors.mit.edu/sage/spkg/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'no-nauty.patch')
-md5sums=('3e05f05ad8bf777e6a7ad48958a18c06'
-         'fd0368575784dafb0e97d229494cdfc2')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-# build without nauty
-  patch -p1 -i "$srcdir"/no-nauty.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: planarity/repos/community-i686/PKGBUILD (from rev 209315, planarity/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-01-28 20:35:29 UTC (rev 209316)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=planarity
+pkgver=3.0.0.5
+pkgrel=1
+pkgdesc="A library for implementing graph algorithms"
+arch=(i686 x86_64)
+url="https://github.com/graph-algorithms/edge-addition-planarity-suite"
+license=(BSD)
+depends=(glibc)
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::"https://github.com/graph-algorithms/edge-addition-planarity-suite/archive/Version_$pkgver.tar.gz")
+md5sums=('2fd16fb8bc5d8343b61fd94005475ed1')
+
+build() {
+  cd edge-addition-planarity-suite-Version_$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd edge-addition-planarity-suite-Version_$pkgver
+  make install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE.TXT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-i686/no-nauty.patch
===================================================================
--- community-i686/no-nauty.patch	2017-01-28 20:34:51 UTC (rev 209315)
+++ community-i686/no-nauty.patch	2017-01-28 20:35:29 UTC (rev 209316)
@@ -1,27 +0,0 @@
-Minimal patch to compile planarity without Nauty
-
---- a/c/planarityCommandLine.c	2015-05-05 14:20:57.000000000 +0200
-+++ b/c/planarityCommandLine.c	2015-05-07 11:05:24.053668256 +0200
-@@ -157,6 +157,7 @@
- extern unsigned long numErrors;
- extern unsigned long numOKs;
- 
-+#ifdef HAVE_NAUTY
- int callNauty(int argc, char *argv[])
- {
- 	char command;
-@@ -294,6 +295,14 @@
- 		return 0;
- 	}
- }
-+#else
-+unsigned long numGraphs, numErrors, numOKs;
-+int callNauty(int argc, char *argv[])
-+{
-+	fprintf(stderr, "Nauty is not installed, aborting\n");
-+	exit(1);
-+}
-+#endif
- 
- /****************************************************************************
-  Quick regression test

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-01-28 20:34:51 UTC (rev 209315)
+++ community-x86_64/PKGBUILD	2017-01-28 20:35:29 UTC (rev 209316)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=planarity
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="A library for implementing graph algorithms"
-arch=(i686 x86_64)
-url="https://code.google.com/p/planarity/"
-license=(BSD)
-depends=(glibc)
-makedepends=()
-source=("http://mirrors.mit.edu/sage/spkg/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'no-nauty.patch')
-md5sums=('3e05f05ad8bf777e6a7ad48958a18c06'
-         'fd0368575784dafb0e97d229494cdfc2')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-# build without nauty
-  patch -p1 -i "$srcdir"/no-nauty.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: planarity/repos/community-x86_64/PKGBUILD (from rev 209315, planarity/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-01-28 20:35:29 UTC (rev 209316)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=planarity
+pkgver=3.0.0.5
+pkgrel=1
+pkgdesc="A library for implementing graph algorithms"
+arch=(i686 x86_64)
+url="https://github.com/graph-algorithms/edge-addition-planarity-suite"
+license=(BSD)
+depends=(glibc)
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::"https://github.com/graph-algorithms/edge-addition-planarity-suite/archive/Version_$pkgver.tar.gz")
+md5sums=('2fd16fb8bc5d8343b61fd94005475ed1')
+
+build() {
+  cd edge-addition-planarity-suite-Version_$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd edge-addition-planarity-suite-Version_$pkgver
+  make install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE.TXT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-x86_64/no-nauty.patch
===================================================================
--- community-x86_64/no-nauty.patch	2017-01-28 20:34:51 UTC (rev 209315)
+++ community-x86_64/no-nauty.patch	2017-01-28 20:35:29 UTC (rev 209316)
@@ -1,27 +0,0 @@
-Minimal patch to compile planarity without Nauty
-
---- a/c/planarityCommandLine.c	2015-05-05 14:20:57.000000000 +0200
-+++ b/c/planarityCommandLine.c	2015-05-07 11:05:24.053668256 +0200
-@@ -157,6 +157,7 @@
- extern unsigned long numErrors;
- extern unsigned long numOKs;
- 
-+#ifdef HAVE_NAUTY
- int callNauty(int argc, char *argv[])
- {
- 	char command;
-@@ -294,6 +295,14 @@
- 		return 0;
- 	}
- }
-+#else
-+unsigned long numGraphs, numErrors, numOKs;
-+int callNauty(int argc, char *argv[])
-+{
-+	fprintf(stderr, "Nauty is not installed, aborting\n");
-+	exit(1);
-+}
-+#endif
- 
- /****************************************************************************
-  Quick regression test



More information about the arch-commits mailing list