Skip to content
Snippets Groups Projects
Commit ec54762b authored by Bruno Pagani's avatar Bruno Pagani
Browse files

upgpkg: 0.2.4-1

parent 79844aec
No related branches found
Tags 0.2.4-1
No related merge requests found
......@@ -2,19 +2,18 @@
_pkg=entrypoint2
pkgname=python-${_pkg}
pkgver=0.2
pkgrel=3
pkgver=0.2.4
pkgrel=1
pkgdesc="Easy to use command-line interface for python modules"
arch=(any)
url="https://github.com/ponty/entrypoint2"
license=(BSD)
depends=(python-argparse python-decorator)
depends=(python)
makedepends=(python-setuptools)
checkdepends=(python-nose python-path.py python-easyprocess)
#PyPi tarball does not have tests, see https://github.com/ponty/entrypoint2/pull/5
#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('a49b160c452914b830135201e6db466c6bb39759ccd0c301cbb7943ab57802fd')
checkdepends=(python-pytest python-easyprocess)
source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
#source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('4770c3afcf3865c606a6e5f7cfcc5c59212f555fcee9b2540270399149c1dde3')
build() {
cd ${_pkg}-${pkgver}
......@@ -22,8 +21,8 @@ build() {
}
check() {
cd ${_pkg}-${pkgver}/tests
PYTHONPATH="../build/lib/" nosetests -vv
cd ${_pkg}-${pkgver}
PYTHONPATH="build/lib/" py.test -v
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment