Date: Thursday, April 6, 2023 @ 13:31:40
Author: felixonmars
Revision: 1438910
archrelease: copy trunk to community-staging-any
Added:
python-pathtools/repos/community-staging-any/
python-pathtools/repos/community-staging-any/PKGBUILD
(from rev 1438906, python-pathtools/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-pathtools/repos/community-staging-any/PKGBUILD (from rev
1438906, python-pathtools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:31:40 UTC (rev 1438910)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-pathtools
+pkgver=0.1.2
+pkgrel=12
+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: