python2-mock on AUR (Arch User Repository)

Last updated: November 07,2024

1. Install "python2-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-mock on Arch using YAY

$ yay -S python2-mock

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

$ yay -Rns python2-mock

2. Manually Install "python2-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-mock's git locally

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

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

$ cd ~/python2-mock $ makepkg -si

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

ID: 1278264
Name: python2-mock
PackageBaseID: 183181
PackageBase: python2-mock
Version: 3.0.5-9
Description: Mocking and patching library for testing (backport of unittest.mock) (deprecated)
URL: https://pypi.org/project/mock/3.0.5/
NumVotes: 4
Popularity: 0.138853
OutOfDate:
Maintainer: tallero
Submitter: MarsSeed
FirstSubmitted: 1655131603
LastModified: 1687642332
URLPath: /cgit/aur.git/snapshot/python2-mock.tar.gz