upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-rope / trunk / PKGBUILD
blobc01ddd419dd6833cc6f2b93c6f5621b0e75bb5aa
1 # Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
2 # Maintainer: Morten Linderud <foxboron@archlinux.org>
3 # Contributor: Thomas Dziedzic <gostrc@gmail.com>
4 # Contributor: Nicolás de la torre <ndelatorre@gmail.com>
5 # Contributor: Ryan Coyner <rcoyner@gmail.com>
6 # Contributor: Jens Maucher <defcon@archlinux.us>
8 pkgname=python-rope
9 pkgver=1.8.0
10 pkgrel=1
11 pkgdesc='Refactoring library'
12 arch=('any')
13 url='https://github.com/python-rope/rope'
14 license=('GPL')
15 depends=('python-pytoolconfig')
16 makedepends=('python' 'python-setuptools')
17 checkdepends=('python-pytest')
18 source=("https://pypi.io/packages/source/r/rope/rope-$pkgver.tar.gz")
19 sha256sums=('3de1d1f1cf2412540c6a150067fe25298175e7c2b72455b6ca8395f61678da82')
21 build(){
22   cd "rope-$pkgver"
23   python setup.py build
26 check(){
27   cd "rope-$pkgver"
28   python -m unittest
31 package() {
32   cd "rope-$pkgver"
33   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
36 # vim:set ts=2 sw=2 et: