flying-sheep [1] filed a request to merge python2-schema [2] into python-schema [3]: PKGBUILD exists. # Contributor: Vladimir Keleshev <vladimir [at] keleshev [dot] com> # Contributor: Mikhail felixoid Shiryaev <mr dot felixoid at gmail dot com> # Maintainer: Philipp A. <flying-sheep@web.de> _name=schema pkgbase=python-$_name pkgname=(python2-$_name python-$_name) pkgver=0.6.6 pkgrel=1 pkgdesc='Python library for validating Python data structures.' arch=('i686' 'x86_64') url="https://github.com/keleshev/$_name" license=('MIT') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('758b59ffc654d3794f6edd6e67db948f26164ddcd3cd7dde8bbeefc4934482d3') check() { cd $_name-$pkgver python2 setup.py test python setup.py test } package_python2-schema() { makedepends=(python2-setuptools python2-pytest) depends=(python2) cd "$srcdir/$_name-$pkgver" python2 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE-MIT $pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT } package_python-schema() { makedepends=(python-setuptools python-pytest) depends=(python) cd "$srcdir/$_name-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE-MIT $pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT } [1] https://aur.archlinux.org/account/flying-sheep/ [2] https://aur.archlinux.org/pkgbase/python2-schema/ [3] https://aur.archlinux.org/pkgbase/python-schema/