[arch-commits] Commit in (4 files)

Kpcyrd kpcyrd at archlinux.org
Fri Dec 20 05:23:51 UTC 2019


    Date: Friday, December 20, 2019 @ 05:23:51
  Author: kpcyrd
Revision: 538462

addpkg: python-intervaltree 3.0.2-2

Added:
  python-intervaltree/
  python-intervaltree/repos/
  python-intervaltree/trunk/
  python-intervaltree/trunk/PKGBUILD

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

Added: python-intervaltree/trunk/PKGBUILD
===================================================================
--- python-intervaltree/trunk/PKGBUILD	                        (rev 0)
+++ python-intervaltree/trunk/PKGBUILD	2019-12-20 05:23:51 UTC (rev 538462)
@@ -0,0 +1,27 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
+
+pkgname=python-intervaltree
+_pyname=intervaltree
+pkgver=3.0.2
+pkgrel=2
+pkgdesc='Library providing a mutable, self-balancing interval tree for Python'
+url="https://github.com/chaimleib/intervaltree"
+arch=('any')
+license=('Apache')
+depends=('python-sortedcontainers')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/chaimleib/${_pyname}/archive/${pkgver}.tar.gz")
+sha256sums=('e8ab75b66077f2e5fb85ac56cb6df834689edb048d38601d53d8867cce3b77d1')
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list