[arch-commits] Commit in python2-statistics/repos (2 files)

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


    Date: Monday, September 21, 2015 @ 06:26:40
  Author: fyan
Revision: 141340

archrelease: copy trunk to community-any

Added:
  python2-statistics/repos/community-any/
  python2-statistics/repos/community-any/PKGBUILD
    (from rev 141339, python2-statistics/trunk/PKGBUILD)

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

Copied: python2-statistics/repos/community-any/PKGBUILD (from rev 141339, python2-statistics/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-21 04:26:40 UTC (rev 141340)
@@ -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:



More information about the arch-commits mailing list