[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Mon Sep 21 04:26:23 UTC 2015


    Date: Monday, September 21, 2015 @ 06:26:23
  Author: fyan
Revision: 141339

addpkg: python2-statistics 1.0.3.5-1

Added:
  python2-statistics/
  python2-statistics/repos/
  python2-statistics/trunk/
  python2-statistics/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Added: python2-statistics/trunk/PKGBUILD
===================================================================
--- python2-statistics/trunk/PKGBUILD	                        (rev 0)
+++ python2-statistics/trunk/PKGBUILD	2015-09-21 04:26:23 UTC (rev 141339)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-statistics
+pkgver=1.0.3.5
+pkgrel=1
+pkgdesc='A Python 2.* port of 3.4 Statistics Module'
+arch=('any')
+url='https://pypi.python.org/pypi/statistics'
+license=('PSF')
+depends=('python2-docutils')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
+sha256sums=('2dc379b80b07bf2ddd5488cad06b2b9531da4dd31edb04dc9ec0dc226486c138')
+
+package() {
+  cd ${pkgname#*-}-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: python2-statistics/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list