Date: Friday, March 29, 2013 @ 20:14:33
  Author: stephane
Revision: 181012

db-move: moved avogadro from [staging] to [testing] (i686, x86_64)

Added:
  avogadro/repos/testing-i686/
  avogadro/repos/testing-i686/PKGBUILD
    (from rev 181010, avogadro/repos/staging-i686/PKGBUILD)
  avogadro/repos/testing-i686/avogadro.install
    (from rev 181010, avogadro/repos/staging-i686/avogadro.install)
  avogadro/repos/testing-i686/boost153.patch
    (from rev 181010, avogadro/repos/staging-i686/boost153.patch)
  avogadro/repos/testing-x86_64/
  avogadro/repos/testing-x86_64/PKGBUILD
    (from rev 181010, avogadro/repos/staging-x86_64/PKGBUILD)
  avogadro/repos/testing-x86_64/avogadro.install
    (from rev 181010, avogadro/repos/staging-x86_64/avogadro.install)
  avogadro/repos/testing-x86_64/boost153.patch
    (from rev 181010, avogadro/repos/staging-x86_64/boost153.patch)
Deleted:
  avogadro/repos/staging-i686/
  avogadro/repos/staging-x86_64/

---------------------------------+
 testing-i686/PKGBUILD           |   39 ++++++++++++++++++++++++
 testing-i686/avogadro.install   |   11 ++++++
 testing-i686/boost153.patch     |   60 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD         |   39 ++++++++++++++++++++++++
 testing-x86_64/avogadro.install |   11 ++++++
 testing-x86_64/boost153.patch   |   60 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 220 insertions(+)

Copied: avogadro/repos/testing-i686/PKGBUILD (from rev 181010, 
avogadro/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
+
+pkgname=avogadro
+pkgver=1.1.0
+pkgrel=4
+pkgdesc="An advanced molecular editor based on Qt"
+arch=('i686' 'x86_64')
+url="http://avogadro.openmolecules.net/wiki/Main_Page";
+license=('GPL2')
+depends=('eigen2' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 
'python2-numpy')
+makedepends=('cmake' 'boost' 'doxygen' 'mesa-libgl')
+install=avogadro.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2";
+        'boost153.patch')
+md5sums=('f4fbef5ffc69cc312b2316426c36a78d'
+         'aa2573f78d5dbd85b3cb79e08acde8ab')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/boost153.patch
+  cd ../
+
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DQT_MKSPECS_RELATIVE=share/qt4/mkspecs
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: avogadro/repos/testing-i686/avogadro.install (from rev 181010, 
avogadro/repos/staging-i686/avogadro.install)
===================================================================
--- testing-i686/avogadro.install                               (rev 0)
+++ testing-i686/avogadro.install       2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: avogadro/repos/testing-i686/boost153.patch (from rev 181010, 
avogadro/repos/staging-i686/boost153.patch)
===================================================================
--- testing-i686/boost153.patch                         (rev 0)
+++ testing-i686/boost153.patch 2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,60 @@
+--- avogadro-1.1.0/libavogadro/src/pythonengine_p.h~   2013-03-29 
12:46:16.306165881 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonengine_p.h    2013-03-29 
12:45:43.123089622 +0000
+@@ -27,7 +27,9 @@
+ 
+ #include <avogadro/global.h>
+ #include <avogadro/engine.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ namespace Avogadro {
+ 
+--- avogadro-1.1.0/libavogadro/src/pythonextension_p.h~        2013-03-29 
12:46:32.156043085 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonextension_p.h 2013-03-29 
12:47:07.265771087 +0000
+@@ -29,7 +29,9 @@
+ #include <avogadro/extension.h>
+ #include <avogadro/primitive.h>
+ #include <avogadro/glwidget.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include <QWidget>
+ #include <QList>
+--- avogadro-1.1.0/libavogadro/src/pythontool_p.h~     2013-03-29 
12:47:33.335569185 +0000
++++ avogadro-1.1.0/libavogadro/src/pythontool_p.h      2013-03-29 
12:47:50.732101147 +0000
+@@ -27,7 +27,9 @@
+ 
+ #include <avogadro/global.h>
+ #include <avogadro/tool.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include <QObject>
+ #include <QAction>
+--- avogadro-1.1.0/libavogadro/src/pythoninterpreter.h~        2013-03-29 
12:50:46.550738652 +0000
++++ avogadro-1.1.0/libavogadro/src/pythoninterpreter.h 2013-03-29 
12:51:00.853961341 +0000
+@@ -26,7 +26,9 @@
+ #define PYTHONINTERPRETER_H
+ 
+ #include <avogadro/global.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ #include <avogadro/primitive.h>
+ #include <QString>
+ 
+--- avogadro-1.1.0/libavogadro/src/pythonscript.h~     2013-03-29 
12:52:00.723488935 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonscript.h      2013-03-29 
12:52:11.676745364 +0000
+@@ -27,7 +27,9 @@
+ #define PYTHONSCRIPT_H
+ 
+ #include <avogadro/global.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include "pythonerror.h"
+ 

Copied: avogadro/repos/testing-x86_64/PKGBUILD (from rev 181010, 
avogadro/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
+
+pkgname=avogadro
+pkgver=1.1.0
+pkgrel=4
+pkgdesc="An advanced molecular editor based on Qt"
+arch=('i686' 'x86_64')
+url="http://avogadro.openmolecules.net/wiki/Main_Page";
+license=('GPL2')
+depends=('eigen2' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 
'python2-numpy')
+makedepends=('cmake' 'boost' 'doxygen' 'mesa-libgl')
+install=avogadro.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2";
+        'boost153.patch')
+md5sums=('f4fbef5ffc69cc312b2316426c36a78d'
+         'aa2573f78d5dbd85b3cb79e08acde8ab')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/boost153.patch
+  cd ../
+
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DQT_MKSPECS_RELATIVE=share/qt4/mkspecs
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: avogadro/repos/testing-x86_64/avogadro.install (from rev 181010, 
avogadro/repos/staging-x86_64/avogadro.install)
===================================================================
--- testing-x86_64/avogadro.install                             (rev 0)
+++ testing-x86_64/avogadro.install     2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: avogadro/repos/testing-x86_64/boost153.patch (from rev 181010, 
avogadro/repos/staging-x86_64/boost153.patch)
===================================================================
--- testing-x86_64/boost153.patch                               (rev 0)
+++ testing-x86_64/boost153.patch       2013-03-29 19:14:33 UTC (rev 181012)
@@ -0,0 +1,60 @@
+--- avogadro-1.1.0/libavogadro/src/pythonengine_p.h~   2013-03-29 
12:46:16.306165881 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonengine_p.h    2013-03-29 
12:45:43.123089622 +0000
+@@ -27,7 +27,9 @@
+ 
+ #include <avogadro/global.h>
+ #include <avogadro/engine.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ namespace Avogadro {
+ 
+--- avogadro-1.1.0/libavogadro/src/pythonextension_p.h~        2013-03-29 
12:46:32.156043085 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonextension_p.h 2013-03-29 
12:47:07.265771087 +0000
+@@ -29,7 +29,9 @@
+ #include <avogadro/extension.h>
+ #include <avogadro/primitive.h>
+ #include <avogadro/glwidget.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include <QWidget>
+ #include <QList>
+--- avogadro-1.1.0/libavogadro/src/pythontool_p.h~     2013-03-29 
12:47:33.335569185 +0000
++++ avogadro-1.1.0/libavogadro/src/pythontool_p.h      2013-03-29 
12:47:50.732101147 +0000
+@@ -27,7 +27,9 @@
+ 
+ #include <avogadro/global.h>
+ #include <avogadro/tool.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include <QObject>
+ #include <QAction>
+--- avogadro-1.1.0/libavogadro/src/pythoninterpreter.h~        2013-03-29 
12:50:46.550738652 +0000
++++ avogadro-1.1.0/libavogadro/src/pythoninterpreter.h 2013-03-29 
12:51:00.853961341 +0000
+@@ -26,7 +26,9 @@
+ #define PYTHONINTERPRETER_H
+ 
+ #include <avogadro/global.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ #include <avogadro/primitive.h>
+ #include <QString>
+ 
+--- avogadro-1.1.0/libavogadro/src/pythonscript.h~     2013-03-29 
12:52:00.723488935 +0000
++++ avogadro-1.1.0/libavogadro/src/pythonscript.h      2013-03-29 
12:52:11.676745364 +0000
+@@ -27,7 +27,9 @@
+ #define PYTHONSCRIPT_H
+ 
+ #include <avogadro/global.h>
++#ifndef Q_MOC_RUN
+ #include <boost/python.hpp>
++#endif
+ 
+ #include "pythonerror.h"
+ 

Reply via email to