[arch-commits] Commit in python-testpath/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:00 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:20:00
Author: felixonmars
Revision: 1058018
archrelease: copy trunk to community-staging-any
Added:
python-testpath/repos/community-staging-any/
python-testpath/repos/community-staging-any/PKGBUILD
(from rev 1058017, python-testpath/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-testpath/repos/community-staging-any/PKGBUILD (from rev 1058017, python-testpath/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:20:00 UTC (rev 1058018)
@@ -0,0 +1,27 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Philipp A. <flying-sheep at web.de>
+_name=testpath
+pkgname=python-testpath
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='Test utilities for code working with files and commands'
+arch=('any')
+url="https://pypi.python.org/pypi/testpath"
+license=('MIT')
+depends=('python')
+#makedepends=('python-pip')
+_wheel="$_name-$pkgver-py2.py3-none-any.whl"
+source=("https://pypi.io/packages/source/t/$_name/$_name-$pkgver.tar.gz")
+md5sums=('b3a41d75aadeab905f7014a3189e852b')
+
+prepare() {
+ cd "$_name-$pkgver"
+ rm testpath/cli*.exe
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list