summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a695fceb7e6bb75e6dca5ccd72af720b5aad1926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Sergio Davies <sergio dot newsletter at gmail dot com>

pkgbase=python2-sortedcollections
pkgname=('python2-sortedcollections')
_name=${pkgbase#python2-}
pkgver=1.1.2
pkgrel=2
pkgdesc="A python library for sorted collections."
arch=('any')
url="http://www.grantjenks.com/docs/sortedcollections/"
url="https://pypi.org/project/sortedcollections/#files"
license=(Apache)
makedepends=('python2-setuptools'
             'python2-sortedcontainers>=2.0.0')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('b93e0decbd7f8f19e40c320709e70e4845b6c8b3a0e96c3c4f707b4b93e1d38a')

package_python2-sortedcollections() {
  depends+=('python2')

  cd "${srcdir}/${_name}-${pkgver}"
  python2 setup.py install --root="${pkgdir}"
}