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

Eli Schwartz eschwartz at archlinux.org
Mon Oct 28 22:04:24 UTC 2019


    Date: Monday, October 28, 2019 @ 22:04:22
  Author: eschwartz
Revision: 520869

upgpkg: python-tomlkit 0.5.8-2: bootstrap python 3.8 rebuilds

Due to cyclic dependency with dephell, which we need to build, but which also
needs us to run, we're disabling the dephell converter for now. A side effect
is ugly tests are distributed in violation of
https://wiki.archlinux.org/index.php/Python_package_guidelines#Notes

Once this is built and importable under python 3.8, we can rebuild with dephell.

Modified:
  python-tomlkit/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-28 21:51:03 UTC (rev 520868)
+++ PKGBUILD	2019-10-28 22:04:22 UTC (rev 520869)
@@ -4,13 +4,14 @@
 _pkgname=tomlkit
 pkgname=python-tomlkit
 pkgver=0.5.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Style-preserving TOML library for Python"
 url="https://github.com/sdispater/tomlkit"
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-dephell')
+#makedepends=('python-dephell')
+makedepends=('python-setuptools')
 checkdepends=('python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
 sha512sums=('e224ad4522279ea94977eb60739d2a43ddbb2d60bac5d00eaa0a93e06cded14eb030c3438ec4be982437c75cc317d89c674fc9e00239e12f41a4ac57285be3e1')
@@ -17,7 +18,11 @@
 
 prepare() {
   cd tomlkit-$pkgver
-  dephell deps convert --from pyproject.toml --to setup.py
+
+  # 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() {



More information about the arch-commits mailing list