Unverified Commit a65a935e authored by prspkt's avatar prspkt

testing/py-incoming: upgrade to python3

parent abeb4d8d
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-incoming
pkgname=py3-incoming
_pkgname=incoming
pkgver=0.2.6
pkgrel=0
......@@ -8,9 +8,9 @@ pkgdesc="A Python JSON validation framework"
url="https://github.com/vaidik/incoming"
arch="noarch"
license="MIT"
depends="python2"
depends="python3"
depends_dev=""
makedepends="python2-dev py-setuptools"
makedepends="py3-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
......@@ -26,14 +26,17 @@ prepare() {
done
}
replaces="py-incoming" # Backwards compatibility
provides="py-incoming=$pkgver-r$pkgrel" # Backwards compatibility
build() {
cd "$_builddir"
python2 setup.py build || return 1
python3 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="eb29d7c925daef241818745e703c6e53 incoming-0.2.6.tar.gz"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment