python2-pytest-mock on AUR (Arch User Repository)

Last updated: December 27,2024

1. Install "python2-pytest-mock" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install python2-pytest-mock on Arch using YAY

$ yay -S python2-pytest-mock

* (Optional) Uninstall python2-pytest-mock on Arch using YAY

$ yay -Rns python2-pytest-mock

2. Manually Install "python2-pytest-mock" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone python2-pytest-mock's git locally

$ git clone https://aur.archlinux.org/python2-pytest-mock.git ~/python2-pytest-mock

c. Go to ~/python2-pytest-mock folder and install it

$ cd ~/python2-pytest-mock $ makepkg -si

3. Information about the python2-pytest-mock package on Arch User Repository (AUR)

ID: 1110969
Name: python2-pytest-mock
PackageBaseID: 183956
PackageBase: python2-pytest-mock
Version: 2.0.0-6
Description: Pytest wrapper for the mock module (legacy Python 2 version)
URL: https://pypi.org/project/pytest-mock/2.0.0
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: MarsSeed
FirstSubmitted: 1657628996
LastModified: 1657632755
URLPath: /cgit/aur.git/snapshot/python2-pytest-mock.tar.gz

5. The same packages on other Linux Distributions