[arch-commits] Commit in python-packaging/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Dec 15 10:04:37 UTC 2020


    Date: Tuesday, December 15, 2020 @ 10:04:36
  Author: felixonmars
Revision: 404346

upgpkg: python-packaging 20.8-2: use builtin setup.py again

Modified:
  python-packaging/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-15 09:36:14 UTC (rev 404345)
+++ PKGBUILD	2020-12-15 10:04:36 UTC (rev 404346)
@@ -3,27 +3,17 @@
 pkgbase=python-packaging
 pkgname=(python-packaging python2-packaging)
 pkgver=20.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Core utilities for Python packages"
 arch=('any')
 url="https://github.com/pypa/packaging"
 license=('Apache')
-makedepends=('python-dephell' 'python-setuptools' 'python2-setuptools' 'python-pyparsing'
-             'python2-pyparsing')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing')
 checkdepends=('python-pytest' 'python2-pytest' 'python-pretend' 'python2-pretend'
               'python-coverage' 'python2-coverage')
 source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
 sha512sums=('77c77da9298635274de58b856b8738ab279749f736264212e6ecdeab47db607ea9c6ae696952f0702e9557d1fd2b89c7277a2c81ff55081593f49ebcd6eb74d4')
 
-prepare() {
-  cd packaging-$pkgver
-
-  # poetry-generated setup.py is badly broken in several ways, including
-  # distribution of tests in the built package as well as using distutils for
-  # bad metadata. See https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
 build() {
   cd packaging-$pkgver
   python setup.py build



More information about the arch-commits mailing list