mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 16:49:42 +00:00
toml: move from toml to tomllib + tomli_w
* toml is getting removed from distributions due to being generally unmaintained and not support the lastest TOML standard. * For parsing use tomllib which is included in python3.11 and tomli for earlier interpeter versions. * For writing use tomli-w. tomli-w.dump() expects bytes-like objects so work around it to keep compatability and minimize changes elsewhere. Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
2
packages/arch-dotdrop-git/PKGBUILD
vendored
2
packages/arch-dotdrop-git/PKGBUILD
vendored
@@ -9,7 +9,7 @@ arch=('any')
|
||||
url="https://github.com/deadc0de6/dotdrop"
|
||||
license=('GPL')
|
||||
groups=()
|
||||
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-ruamel-yaml' 'python-magic' 'python-requests' 'python-packaging' 'python-toml' 'python-distro')
|
||||
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-ruamel-yaml' 'python-magic' 'python-requests' 'python-packaging' 'python-tomli-w' 'python-distro')
|
||||
makedepends=('git')
|
||||
provides=(dotdrop)
|
||||
conflicts=(dotdrop)
|
||||
|
||||
2
packages/arch-dotdrop/PKGBUILD
vendored
2
packages/arch-dotdrop/PKGBUILD
vendored
@@ -8,7 +8,7 @@ arch=('any')
|
||||
url="https://github.com/deadc0de6/dotdrop"
|
||||
license=('GPL')
|
||||
groups=()
|
||||
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-ruamel-yaml' 'python-magic' 'python-requests' 'python-packaging' 'python-toml' 'python-distro')
|
||||
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-ruamel-yaml' 'python-magic' 'python-requests' 'python-packaging' 'python-tomli-w' 'python-distro')
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/deadc0de6/dotdrop.git#tag=v${pkgver}")
|
||||
md5sums=('SKIP')
|
||||
|
||||
Reference in New Issue
Block a user