mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
24 lines
663 B
Bash
24 lines
663 B
Bash
# Maintainer: Felix Yan <felixonmars@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:
|