[arch-commits] Commit in python-covdefaults/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at gemini.archlinux.org
Sun Nov 7 20:15:18 UTC 2021
Date: Sunday, November 7, 2021 @ 20:15:17
Author: ffy00
Revision: 1038707
archrelease: copy trunk to community-any
Added:
python-covdefaults/repos/community-any/PKGBUILD
(from rev 1038706, python-covdefaults/trunk/PKGBUILD)
Deleted:
python-covdefaults/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-07 20:14:30 UTC (rev 1038706)
+++ PKGBUILD 2021-11-07 20:15:17 UTC (rev 1038707)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=covdefaults
-pkgname=python-$_pkgname
-pkgver=1.2.0
-pkgrel=2
-pkgdesc='A coverage plugin to provide sensible default settings'
-arch=('any')
-url='https://github.com/asottile/covdefaults'
-license=('MIT')
-depends=('python-coverage')
-makedepends=('python-setuptools')
-checkdepends=('python-tox-current-env' 'python-pytest')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('2ac214acc79905ed8c57f766d8ca7c163db56819db4cac95d0d9ecf21e3f455d7865c00d64a4398bd2c63f5250217f53a9a3569d8ba1219d9152034f8c9628e8')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- # remove coverage usage as it wants the plugin we are building
- sed -i -e's|coverage run|python|' -e '/coverage .*/d' tox.ini
-}
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-}
-
-check() {
- cd $_pkgname-$pkgver
-
- tox -e py39 --current-env
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-covdefaults/repos/community-any/PKGBUILD (from rev 1038706, python-covdefaults/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-07 20:15:17 UTC (rev 1038707)
@@ -0,0 +1,44 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=covdefaults
+pkgname=python-$_pkgname
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='A coverage plugin to provide sensible default settings'
+arch=('any')
+url='https://github.com/asottile/covdefaults'
+license=('MIT')
+depends=('python-coverage')
+makedepends=('python-setuptools')
+checkdepends=('python-tox-current-env' 'python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('61bb9fb82dcf0f3e0794a6794d73b967c62d1444529aaaab686ec5bf87fb06ccc7a25f594f49b1d71ab9aea5c74d617cfe4fc22437f0bf9ccbcb597d260e87fd')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ # remove coverage usage as it wants the plugin we are building
+ sed -i -e's|coverage run|python|' -e '/coverage .*/d' tox.ini
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ tox -e py39 --current-env
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list