[arch-commits] Commit in python-appdirs/repos/staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 11 06:53:15 UTC 2020


    Date: Wednesday, November 11, 2020 @ 06:53:15
  Author: felixonmars
Revision: 400230

archrelease: copy trunk to staging-any

Added:
  python-appdirs/repos/staging-any/PKGBUILD
    (from rev 400229, python-appdirs/trunk/PKGBUILD)
Deleted:
  python-appdirs/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 06:53:02 UTC (rev 400229)
+++ PKGBUILD	2020-11-11 06:53:15 UTC (rev 400230)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tobias Roettger <toroettg at gmail.com>
-
-pkgbase=python-appdirs
-pkgname=(python-appdirs python2-appdirs)
-pkgver=1.4.4
-pkgrel=2
-pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
-arch=('any')
-url="https://github.com/ActiveState/appdirs"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
-sha512sums=('8b0cdd9fd471d45b186aa47607691cf378dabd3edc7b7026a57bd6d6f57698e86f440818a5e23ba4288b35d6bb8cb6eb0106eae8aab09d8863ee15025d300883')
-
-prepare() {
-  cp -a appdirs-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/appdirs-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/appdirs-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/appdirs-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/appdirs-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-appdirs() {
-  depends=('python')
-
-  cd appdirs-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-appdirs() {
-  depends=('python2')
-
-  cd appdirs-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-appdirs/repos/staging-any/PKGBUILD (from rev 400229, python-appdirs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 06:53:15 UTC (rev 400230)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tobias Roettger <toroettg at gmail.com>
+
+pkgbase=python-appdirs
+pkgname=(python-appdirs python2-appdirs)
+pkgver=1.4.4
+pkgrel=3
+pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
+arch=('any')
+url="https://github.com/ActiveState/appdirs"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
+sha512sums=('8b0cdd9fd471d45b186aa47607691cf378dabd3edc7b7026a57bd6d6f57698e86f440818a5e23ba4288b35d6bb8cb6eb0106eae8aab09d8863ee15025d300883')
+
+prepare() {
+  cp -a appdirs-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/appdirs-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/appdirs-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/appdirs-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/appdirs-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-appdirs() {
+  depends=('python')
+
+  cd appdirs-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-appdirs() {
+  depends=('python2')
+
+  cd appdirs-$pkgver-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list