[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Aug 16 13:33:11 UTC 2018


    Date: Thursday, August 16, 2018 @ 13:33:10
  Author: felixonmars
Revision: 371971

addpkg: python2-pathlib2 2.3.2-1

Added:
  python2-pathlib2/
  python2-pathlib2/repos/
  python2-pathlib2/trunk/
  python2-pathlib2/trunk/PKGBUILD

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

Added: python2-pathlib2/trunk/PKGBUILD
===================================================================
--- python2-pathlib2/trunk/PKGBUILD	                        (rev 0)
+++ python2-pathlib2/trunk/PKGBUILD	2018-08-16 13:33:10 UTC (rev 371971)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-pathlib2
+pkgver=2.3.2
+pkgrel=1
+pkgdesc='Object-oriented filesystem paths'
+arch=('any')
+url='http://pypi.python.org/pypi/pathlib2'
+license=('MIT')
+depends=('python2-six' 'python2-scandir')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest-runner' 'python2-mock')
+source=("https://pypi.io/packages/source/p/pathlib2/pathlib2-$pkgver.tar.gz")
+sha256sums=('8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83')
+
+build() {
+  cd pathlib2-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd pathlib2-$pkgver
+  python2 setup.py pytest
+}
+
+package() {
+  cd pathlib2-$pkgver
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/python2-pathlib2/LICENSE.rst
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: python2-pathlib2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list