mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
parent
35351e9507
commit
6600409599
1 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'thefuck'
|
# Template file for 'thefuck'
|
||||||
pkgname=thefuck
|
pkgname=thefuck
|
||||||
version=3.24
|
version=3.25
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="thefuck"
|
pycompile_module="thefuck"
|
||||||
|
@ -8,12 +8,21 @@ noarch=yes
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools python3-requests python3-psutil python3-decorator
|
depends="python3-setuptools python3-requests python3-psutil python3-decorator
|
||||||
python3-six python3-colorama python3-pyte"
|
python3-six python3-colorama python3-pyte"
|
||||||
|
checkdepends="python3-pytest python3-pytest-mock ${depends}"
|
||||||
short_desc="Magnificent app which corrects your previous console command"
|
short_desc="Magnificent app which corrects your previous console command"
|
||||||
maintainer='Benjamin "Doctors" Hoffmeyer <hoffmeyer25@gmail.com>'
|
maintainer='Benjamin "Doctors" Hoffmeyer <hoffmeyer25@gmail.com>'
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/nvbn/thefuck"
|
homepage="https://github.com/nvbn/thefuck"
|
||||||
distfiles="https://github.com/nvbn/thefuck/archive/${version}.tar.gz"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
|
|
Loading…
Add table
Reference in a new issue