[arch-commits] Commit in python-appdirs/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Oct 27 07:05:41 UTC 2019
Date: Sunday, October 27, 2019 @ 07:05:40
Author: felixonmars
Revision: 365915
archrelease: copy trunk to staging-any
Added:
python-appdirs/repos/staging-any/PKGBUILD
(from rev 365914, python-appdirs/trunk/PKGBUILD)
Deleted:
python-appdirs/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-27 07:05:26 UTC (rev 365914)
+++ PKGBUILD 2019-10-27 07:05:40 UTC (rev 365915)
@@ -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.3
-pkgrel=4
-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")
-md5sums=('44c679904082a2133f5566c8a0d3ab42')
-
-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 365914, python-appdirs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-27 07:05:40 UTC (rev 365915)
@@ -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.3
+pkgrel=5
+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")
+md5sums=('44c679904082a2133f5566c8a0d3ab42')
+
+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