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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:47:39 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:47:38
  Author: felixonmars
Revision: 658595

archrelease: copy trunk to community-staging-any

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

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

Copied: python2-pathlib/repos/community-staging-any/PKGBUILD (from rev 658594, python2-pathlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:47:38 UTC (rev 658595)
@@ -0,0 +1,20 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: vae77 <fernandogrd at yahoo.com.br>
+
+pkgname=python2-pathlib
+pkgver=1.0.1
+pkgrel=5
+pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"
+arch=('any')
+url="https://pathlib.readthedocs.org/en/${pkgver}/"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
+sha512sums=('d85e45dfcc85ce75a7e7b609163dc8c75c688f279c1833510185f280af5501e473376dc09bddc6a804d1fcc3177a939db85af37b7b8d5b183b9bc2b85b3b0f8b')
+
+package() {
+  cd "$srcdir/pathlib-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}



More information about the arch-commits mailing list