[arch-commits] Commit in python-send2trash/repos/community-any (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Nov 18 13:49:21 UTC 2017


    Date: Saturday, November 18, 2017 @ 13:49:21
  Author: foxboron
Revision: 267280

archrelease: copy trunk to community-any

Added:
  python-send2trash/repos/community-any/PKGBUILD
    (from rev 267279, python-send2trash/trunk/PKGBUILD)
Deleted:
  python-send2trash/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-18 13:49:04 UTC (rev 267279)
+++ PKGBUILD	2017-11-18 13:49:21 UTC (rev 267280)
@@ -1,44 +0,0 @@
-# $Id$
-# Contributor: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgbase=send2trash
-pkgbase=python-$_pkgbase
-pkgname=('python-send2trash' 'python2-send2trash')
-pkgver=1.4.1
-pkgrel=1
-pkgdesc="Send file to trash natively"
-arch=('any')
-url="https://github.com/hsoft/send2trash"
-license=('BSD')
-depends=('python' 'python2')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/hsoft/$_pkgbase/archive/$pkgver.tar.gz")
-sha256sums=('2a00a90e04f739b8b0fe6d13f434602f47a1cefd138a61ddceaf972f8f250ea8')
-
-prepare() {
-	cp -a $_pkgbase-$pkgver{,-python2}
-}
-
-build() {
-	cd $_pkgbase-$pkgver
-	python setup.py build
-
-	cd ../$_pkgbase-$pkgver-python2
-	python2 setup.py build
-}
-
-package_python-send2trash() {
-	depends=('python')
-
-	cd $_pkgbase-$pkgver
-	python3 setup.py install --root "$pkgdir" --optimize=1
-	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-send2trash() {
-	depends=('python2')
-
-	cd $_pkgbase-$pkgver-python2
-	python2 setup.py install --root "$pkgdir" --optimize=1
-	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-send2trash/repos/community-any/PKGBUILD (from rev 267279, python-send2trash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-18 13:49:21 UTC (rev 267280)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgbase=send2trash
+pkgbase=python-$_pkgbase
+pkgname=('python-send2trash' 'python2-send2trash')
+pkgver=1.4.2
+pkgrel=1
+pkgdesc="Send file to trash natively"
+arch=('any')
+url="https://github.com/hsoft/send2trash"
+license=('BSD')
+makedepends=('python' 'python-setuptools'
+	     'python' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/hsoft/$_pkgbase/archive/$pkgver.tar.gz")
+sha256sums=('3fd57fc13078f3570e70a860a15f92eec8fa08933ca2e1dba43a98ee2587de39')
+
+prepare() {
+	cp -a $_pkgbase-$pkgver{,-python2}
+}
+
+build() {
+	cd $_pkgbase-$pkgver
+	python setup.py build
+
+	cd ../$_pkgbase-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-send2trash() {
+	depends=('python')
+
+	cd $_pkgbase-$pkgver
+	python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-send2trash() {
+	depends=('python2')
+
+	cd $_pkgbase-$pkgver-python2
+	python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list