[arch-commits] Commit in python-tomlkit/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu May 20 23:40:08 UTC 2021
Date: Thursday, May 20, 2021 @ 23:40:07
Author: eschwartz
Revision: 939702
python-tomlkit: remove dephell workaround for building
Awkward bootstrap model, frozen development. It's not necessarily needed
anymore, now that current versions of poetry use setuptools.
The other reason to use it was due to handling of the tests/ directory, but the
very latest version of tomlkit finally uses a new poetry build-backend feature
to specify that the tests directory should be included in sdist, but not added
as an installable module.
Modified:
python-tomlkit/trunk/PKGBUILD
----------+
PKGBUILD | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-20 23:25:12 UTC (rev 939701)
+++ PKGBUILD 2021-05-20 23:40:07 UTC (rev 939702)
@@ -10,20 +10,11 @@
license=('MIT')
arch=('any')
depends=('python')
-makedepends=('python-dephell')
+makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-yaml')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('cfb17d133463c22ae8b76dd03587f23f6dafedfd2decdf15ae29fe5c05117ebd3e17057f49bdb17345386f5ce3073b1e5b1937c6ab6683aefb0fc0abd7571580')
-prepare() {
- cd tomlkit-$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 tomlkit-$pkgver
python setup.py build
More information about the arch-commits
mailing list