parent
35351e9507
commit
6600409599
1 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'thefuck'
|
||||
pkgname=thefuck
|
||||
version=3.24
|
||||
version=3.25
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
pycompile_module="thefuck"
|
||||
|
@ -8,12 +8,21 @@ noarch=yes
|
|||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-requests python3-psutil python3-decorator
|
||||
python3-six python3-colorama python3-pyte"
|
||||
checkdepends="python3-pytest python3-pytest-mock ${depends}"
|
||||
short_desc="Magnificent app which corrects your previous console command"
|
||||
maintainer='Benjamin "Doctors" Hoffmeyer <hoffmeyer25@gmail.com>'
|
||||
license="MIT"
|
||||
homepage="https://github.com/nvbn/thefuck"
|
||||
distfiles="https://github.com/nvbn/thefuck/archive/${version}.tar.gz"
|
||||
checksum=686867f264ee34d9287814dde0e9ca5debb322deeaf0ac6773ec06f823d7c0b4
|
||||
checksum=73ea219a317f0d2ef4617c483fa41d218d1e30515edabb9aa5d89c11a8b00b21
|
||||
|
||||
do_check() {
|
||||
# on python3 mock is unittest.mock
|
||||
sed -i 's|from mock|from unittest.mock|g' tests/**.py
|
||||
sed -i 's|from mock|from unittest.mock|g' tests/**/*.py
|
||||
|
||||
python3 -m pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
|
|
Loading…
Add table
Reference in a new issue