Drop Python2 support. Round 4

This commit is contained in:
Alexey Pavlov
2020-03-02 12:44:15 +03:00
parent 8e4c3cd3da
commit 885bbbadf0
53 changed files with 218 additions and 262 deletions

View File

@@ -10,18 +10,16 @@ arch=('any')
license=('GPL')
url="https://pypi.python.org/pypi/fastimport/"
depends=('python')
makedepends=('python3-setuptools')
makedepends=('python-setuptools')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
python setup.py build
/usr/bin/python setup.py build
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
/usr/bin/python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}