[arch-commits] Commit in python-pybox2d/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Jun 4 20:31:11 UTC 2018


    Date: Monday, June 4, 2018 @ 20:31:10
  Author: arodseth
Revision: 340454

archrelease: copy trunk to community-x86_64

Added:
  python-pybox2d/repos/community-x86_64/PKGBUILD
    (from rev 340453, python-pybox2d/trunk/PKGBUILD)
Deleted:
  python-pybox2d/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-04 20:30:24 UTC (rev 340453)
+++ PKGBUILD	2018-06-04 20:31:10 UTC (rev 340454)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgbase=python-pybox2d
-pkgname=('python2-pybox2d')
-pkgver=2.3.0
-pkgrel=2
-epoch=1
-arch=('x86_64' 'i686')
-url='https://github.com/pybox2d/pybox2d'
-license=('GPL')
-makedepends=('git' 'python2' 'swig')
-source=("$pkgbase::git://github.com/pybox2d/pybox2d.git#commit=9c21fcc9a3")
-md5sums=('SKIP')
-
-build() {
-  cd "$pkgbase"
-
-  python2 setup.py setopt --command=build_ext --option=swig --set-value=swig
-  python2 setup.py build
-}
-
-package_python2-pybox2d() {
-  depends=('python2')
-  pkgdesc='Python wrapper for Box2D'
-
-  cd "$pkgbase"
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  # Fixes the warning about a missing dependency on python
-  sed -i 's:python:python2:g' \
-    "$pkgdir/usr/lib/python2.7/site-packages/Box2D/__init__.py"
-}
-
-# vim: sw=2 ts=2 et:

Copied: python-pybox2d/repos/community-x86_64/PKGBUILD (from rev 340453, python-pybox2d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-04 20:31:10 UTC (rev 340454)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgbase=python-pybox2d
+pkgname=('python2-pybox2d')
+pkgver=2.3.2
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url='https://github.com/pybox2d/pybox2d'
+license=('GPL')
+makedepends=('git' 'swig' 'python2-setuptools')
+source=("$pkgbase::git+https://github.com/pybox2d/pybox2d.git#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+  cd "$pkgbase"
+
+  python2 setup.py setopt --command=build_ext --option=swig --set-value=swig
+  python2 setup.py build
+}
+
+package_python2-pybox2d() {
+  pkgdesc='Python wrapper for Box2D'
+
+  cd "$pkgbase"
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # Fixes the warning about a missing dependency on python
+  sed -i 's:python:python2:g' \
+    "$pkgdir/usr/lib/python2.7/site-packages/Box2D/__init__.py"
+}
+
+# vim: sw=2 ts=2 et:



More information about the arch-commits mailing list