# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-future
version=0.18.2
build=1sml
homepage="https://python-future.org"
desc="Easy, clean, reliable Python 2/3 compatibility toolkit"
requires="python3 python-setuptools"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf future-$version

  tar xf $srcdir/future-$version.tar.?z*
  cd future-$version
  fixbuilddirpermissions
}

build() {
  python setup.py install --prefix="" --root="$pkg"
  cp LICENSE.txt $pkgdocs/

  mkfinalpkg
}

sha512sums="
0fe2460226e1eef1fac0e49e2044150bfc96f6573f34c3e0f5cd78849dc83f86ca9a9b980141f95f25cbe325a58e8fcad86587b188e7ec298643733706dc0a2d  future-0.18.2.tar.lz
"
