[arch-commits] Commit in python-pathtools/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Apr 10 20:35:46 UTC 2020
Date: Friday, April 10, 2020 @ 20:35:45
Author: jelle
Revision: 613166
archrelease: copy trunk to community-any
Added:
python-pathtools/repos/community-any/PKGBUILD
(from rev 613165, python-pathtools/trunk/PKGBUILD)
Deleted:
python-pathtools/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++--------------------------------------
1 file changed, 27 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-10 20:35:35 UTC (rev 613165)
+++ PKGBUILD 2020-04-10 20:35:45 UTC (rev 613166)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgname=('python-pathtools' 'python2-pathtools')
-pkgver=0.1.2
-pkgrel=6
-pkgdesc="Pattern matching and various utilities for file systems paths"
-arch=('any')
-url="https://pypi.python.org/pypi/pathtools/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=(https://pypi.python.org/packages/source/p/pathtools/pathtools-$pkgver.tar.gz)
-sha256sums=('7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0')
-
-prepare() {
- cp -a pathtools-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/pathtools-$pkgver"
- python setup.py build
-
- cd "$srcdir/pathtools-$pkgver-py2"
- python2 setup.py build
-}
-
-package_python-pathtools() {
- depends=('python')
-
- cd "$srcdir/pathtools-$pkgver"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-pathtools() {
- depends=('python2')
-
- cd "$srcdir/pathtools-$pkgver-py2"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:ts=2:sw=2:et:
Copied: python-pathtools/repos/community-any/PKGBUILD (from rev 613165, python-pathtools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-10 20:35:45 UTC (rev 613166)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-pathtools
+pkgver=0.1.2
+pkgrel=7
+pkgdesc="Pattern matching and various utilities for file systems paths"
+arch=('any')
+url="https://pypi.python.org/pypi/pathtools/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://pypi.python.org/packages/source/p/pathtools/pathtools-$pkgver.tar.gz)
+sha256sums=('7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0')
+
+build() {
+ cd "pathtools-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "pathtools-$pkgver"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:ts=2:sw=2:et:
More information about the arch-commits
mailing list