[arch-commits] Commit in thefuck/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Jun 3 14:24:04 UTC 2015


    Date: Wednesday, June 3, 2015 @ 16:24:04
  Author: fyan
Revision: 134687

upgpkg: thefuck 1.45-2

remove dependency on python-pathlib (it's a standard library since python 3.4)

Modified:
  thefuck/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-03 10:24:38 UTC (rev 134686)
+++ PKGBUILD	2015-06-03 14:24:04 UTC (rev 134687)
@@ -3,12 +3,12 @@
 
 pkgname=thefuck
 pkgver=1.45
-pkgrel=1
+pkgrel=2
 pkgdesc="Magnificent app which corrects your previous console command"
 arch=('any')
 url="https://github.com/nvbn/thefuck"
 license=('MIT')
-depends=('python-setuptools' 'python-pathlib' 'python-psutil' 'python-six' 'python-colorama')
+depends=('python-setuptools' 'python-psutil' 'python-six' 'python-colorama')
 makedepends=('git')
 checkdepends=('python-pytest-mock' 'python-mock')
 install=thefuck.install
@@ -15,6 +15,11 @@
 source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
 sha256sums=('SKIP')
 
+prepare() {
+  # pathlib is standard library since Python 3.4
+  sed -i "s|install_requires=\['pathlib',|install_requires=[|" thefuck/setup.py
+}
+
 build() {
   cd thefuck
   python setup.py build



More information about the arch-commits mailing list