# Maintainer: atom2013 <atom.long@hotmail.com>

_realname=packaging
pkgbase="python-${_realname}"
pkgname=("python-${_realname}")
pkgver=20.8
pkgrel=2
pkgdesc="Core utilities for Python packages"
arch=('any')
url="https://github.com/pypa/packaging"
license=('Apache')
depends=('python-pyparsing')
makedepends=('python-setuptools')
provides=("python3-${_realname}")
replaces=("python3-${_realname}")
conflicts=("python3-${_realname}")
source=("https://pypi.io/packages/source/p/packaging/packaging-${pkgver}.tar.gz")
sha256sums=('78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093')

build() {
  cd "${srcdir}"/packaging-${pkgver}
  /usr/bin/python setup.py build
}

package() {
  cd "${srcdir}"/packaging-${pkgver}
  /usr/bin/python setup.py install --root "${pkgdir}"
}

