Merge pull request #4242 from lazka/remove-python-tomli
Remove python-tomli
This commit is contained in:
@@ -3,14 +3,13 @@
|
||||
_realname=build
|
||||
pkgname="python-${_realname}"
|
||||
pkgver=1.0.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A simple, correct Python build frontend"
|
||||
arch=('any')
|
||||
url='https://github.com/pypa/build'
|
||||
license=('spdx:MIT')
|
||||
depends=("python-packaging"
|
||||
"python-pyproject-hooks"
|
||||
"python-tomli")
|
||||
"python-pyproject-hooks")
|
||||
makedepends=(
|
||||
"python-flit-core"
|
||||
"python-installer"
|
||||
|
||||
@@ -4,14 +4,13 @@ _realname=hatch-fancy-pypi-readme
|
||||
pkgbase=python-hatch-fancy-pypi-readme
|
||||
pkgname=("python-${_realname}")
|
||||
pkgver=23.1.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Fancy PyPI READMEs with Hatch"
|
||||
arch=('any')
|
||||
license=('spdx:MIT')
|
||||
url="https://github.com/hynek/hatch-fancy-pypi-readme"
|
||||
depends=('python'
|
||||
'python-hatchling'
|
||||
'python-tomli')
|
||||
'python-hatchling')
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
|
||||
@@ -3,14 +3,13 @@
|
||||
_pyname=hatchling
|
||||
pkgname=python-hatchling
|
||||
pkgver=1.18.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A modern project, package, and virtual env manager (backend)"
|
||||
arch=('any')
|
||||
url="https://github.com/pypa/hatch"
|
||||
license=('spdx:MIT')
|
||||
depends=(
|
||||
'python'
|
||||
'python-tomli'
|
||||
'python-packaging'
|
||||
'python-pathspec'
|
||||
'python-pluggy'
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
_name=pyproject_hooks
|
||||
pkgname=python-pyproject-hooks
|
||||
pkgver=1.0.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project"
|
||||
arch=(any)
|
||||
url="https://github.com/pypa/pyproject-hooks"
|
||||
license=('spdx:MIT')
|
||||
depends=(python python-tomli)
|
||||
depends=(python)
|
||||
makedepends=(python-installer python-flit-core)
|
||||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
|
||||
sha256sums=('f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5')
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
pkgbase=python-pytest
|
||||
pkgname=('python-pytest')
|
||||
pkgver=7.4.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
provides=("python3-pytest")
|
||||
replaces=("python3-pytest")
|
||||
conflicts=("python3-pytest")
|
||||
@@ -15,8 +15,7 @@ depends=('python'
|
||||
'python-attrs'
|
||||
'python-pluggy'
|
||||
'python-packaging'
|
||||
'python-iniconfig'
|
||||
'python-tomli')
|
||||
'python-iniconfig')
|
||||
makedepends=('python-build'
|
||||
'python-installer'
|
||||
'python-setuptools'
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
pkgname=python-tomli
|
||||
pkgver=2.0.1
|
||||
pkgrel=3
|
||||
pkgdesc="A lil' TOML parser"
|
||||
url="https://github.com/hukkin/tomli"
|
||||
license=('spdx:MIT')
|
||||
arch=('any')
|
||||
depends=('python')
|
||||
makedepends=(
|
||||
'python-flit-core'
|
||||
'python-installer'
|
||||
)
|
||||
source=("https://github.com/hukkin/tomli/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('ad22dbc128623e0c156ffaff019f29f456eba8a5d5a05164dd34f63e560449df')
|
||||
|
||||
build() {
|
||||
cd "tomli-${pkgver}"
|
||||
|
||||
python -m flit_core.wheel
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "tomli-${pkgver}"
|
||||
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
Reference in New Issue
Block a user