[arch-commits] Commit in python-redbaron/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Feb 17 18:19:30 UTC 2019
Date: Sunday, February 17, 2019 @ 18:19:29
Author: felixonmars
Revision: 434191
upgpkg: python-redbaron 0.9.1-1
Modified:
python-redbaron/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-17 18:11:24 UTC (rev 434190)
+++ PKGBUILD 2019-02-17 18:19:29 UTC (rev 434191)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-redbaron
-pkgver=0.8
+pkgver=0.9.1
pkgrel=1
pkgdesc="Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task"
url="https://github.com/PyCQA/redbaron"
@@ -9,10 +9,16 @@
arch=('any')
depends=('python-baron')
makedepends=('python-setuptools' 'python-pypandoc')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/redbaron/archive/$pkgver.tar.gz")
-sha512sums=('97a41546c643ab7d541589cf231be1d9047c3793056ae9b524b16aea0fcdbdbfd73f91aa3777c40b2442ac9a3addcd85d70f461ea1e77f237a2c1d87ea61069e')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/redbaron/archive/$pkgver.tar.gz"
+ https://github.com/PyCQA/redbaron/commit/812081b7bd8774ceb61016ac37da43107c26eea2.patch)
+sha512sums=('90381a8009563fa121569cf8e7ed4ee3dbddaa04e7e6de56cf626ed7ea26381bd40c4ef9b4c35b42f001def9b240acefa1104514a487f7c8e4811963822f19ee'
+ 'ba829d260ae1994ef12faaa3dd10531046ca754627de44a79f0b5ae9a27eed7a8b304ee5cac709586969b8ad2129b6a68b59631f88a4c616a65ca91937d6b45f')
+prepare() {
+ patch -d redbaron-$pkgver -p1 -i ../812081b7bd8774ceb61016ac37da43107c26eea2.patch
+}
+
build() {
cd redbaron-$pkgver
python setup.py build
@@ -20,7 +26,7 @@
check() {
cd redbaron-$pkgver
- python setup.py pytest --addopts tests
+ pytest tests
}
package() {
More information about the arch-commits
mailing list