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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:50:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:50:25
  Author: felixonmars
Revision: 659879

archrelease: copy trunk to community-staging-any

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

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

Copied: python2-statistics/repos/community-staging-any/PKGBUILD (from rev 659878, python2-statistics/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:50:25 UTC (rev 659879)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-statistics
+pkgver=1.0.3.5
+pkgrel=3
+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")
+sha512sums=('1d7fd2304a885dbd9ebc564323349f9c5ad1ea1ecea8182b52a1f42308963bd49f07c9dc9f0b87a35d2f6ed3c37429dbc38183c0b1bd65a527558e4504a9a3a0')
+
+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