[arch-commits] Commit in trash-cli/repos/community-any (PKGBUILD PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Mon Aug 22 07:17:46 UTC 2022
Date: Monday, August 22, 2022 @ 07:17:46
Author: alex19ep
Revision: 1274428
archrelease: copy trunk to community-any
Added:
trash-cli/repos/community-any/PKGBUILD
(from rev 1274427, trash-cli/trunk/PKGBUILD)
Deleted:
trash-cli/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-22 07:17:41 UTC (rev 1274427)
+++ PKGBUILD 2022-08-22 07:17:46 UTC (rev 1274428)
@@ -1,43 +0,0 @@
-# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Renato Garcia <fgarcia.renato at gmail.com>
-
-pkgname=trash-cli
-pkgver=0.22.4.16
-pkgrel=1
-pkgdesc="Command line trashcan (recycle bin) interface"
-arch=('any')
-url="https://github.com/andreafrancia/trash-cli"
-license=('GPL')
-depends=('python-psutil')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-six')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('6f2d306abbb0cb857d6fc6697a65e006758458ad85793cc0b62f64be993f9c68')
-
-prepare() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- # don't depend on thirdparty copies of the stdlib
- find tests -type f -name "*.py" -exec \
- sed -i 's/^import mock$/from unittest import mock/;s/from mock /from unittest.mock /' {} +
-}
-
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- python -m pytest
-}
-
-package(){
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
Copied: trash-cli/repos/community-any/PKGBUILD (from rev 1274427, trash-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-22 07:17:46 UTC (rev 1274428)
@@ -0,0 +1,43 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Renato Garcia <fgarcia.renato at gmail.com>
+
+pkgname=trash-cli
+pkgver=0.22.8.21.16
+pkgrel=1
+pkgdesc="Command line trashcan (recycle bin) interface"
+arch=('any')
+url="https://github.com/andreafrancia/trash-cli"
+license=('GPL')
+depends=('python-psutil')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-six')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('6f220a0b4d545580e4f9b0d6630152f99bac19e3df13995cb4f40397e3d9cd60')
+
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ # don't depend on thirdparty copies of the stdlib
+ find tests -type f -name "*.py" -exec \
+ sed -i 's/^import mock$/from unittest import mock/;s/from mock /from unittest.mock /' {} +
+}
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ python -m pytest
+}
+
+package(){
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list