[arch-commits] Commit in python2-munkres/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Mar 6 10:04:22 UTC 2015
Date: Friday, March 6, 2015 @ 11:04:22
Author: alucryd
Revision: 128793
archrelease: copy trunk to community-any
Added:
python2-munkres/repos/community-any/PKGBUILD
(from rev 128792, python2-munkres/trunk/PKGBUILD)
Deleted:
python2-munkres/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-06 10:04:14 UTC (rev 128792)
+++ PKGBUILD 2015-03-06 10:04:22 UTC (rev 128793)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Adrian Sampson <adrian at radbox.org>
-
-pkgname=python2-munkres
-pkgver=1.0.5.4
-pkgrel=3
-pkgdesc='Munkres algorithm for the assignment problem'
-arch=('any')
-url='http://bmc.github.com/munkres/'
-license=('BSD')
-depends=('python2')
-makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/m/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
-sha256sums=('105adad30659dbdf82815d3e12a74d4c01a3e0741d5ccbce194ee2ad4e5338d2')
-
-prepare() {
- cd ${pkgname#*-}-${pkgver}
-
- sed -i 's|^#!.*python$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
-}
-
-build() {
- cd ${pkgname#*-}-${pkgver}
-
- python2 setup.py build
-}
-
-package() {
- cd ${pkgname#*-}-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
-# License
- install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}LICENSE
-}
-
-# vim: ts=2 sw=2 et:
Copied: python2-munkres/repos/community-any/PKGBUILD (from rev 128792, python2-munkres/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-03-06 10:04:22 UTC (rev 128793)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=python2-munkres
+pkgver=1.0.7
+pkgrel=1
+pkgdesc='Munkres algorithm for the assignment problem'
+arch=('any')
+url='https://github.com/bmc/munkres'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/m/munkres/munkres-${pkgver}.tar.gz")
+sha256sums=('334a5d849bcefed3e4c32ecfbca4ee8dfc8ef5f2f181334d6f7f4e100b71d6c4')
+
+prepare() {
+ cd munkres-${pkgver}
+
+ sed -i 's|^#!.*python$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
+}
+
+build() {
+ cd munkres-${pkgver}
+
+ python2 setup.py build
+}
+
+package() {
+ cd munkres-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses/python2-munkres
+ install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/python2-munkres/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list