[arch-commits] Commit in python-tomlkit/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 14:46:04 UTC 2021


    Date: Tuesday, November 30, 2021 @ 14:46:04
  Author: foutrelis
Revision: 1057718

archrelease: copy trunk to community-staging-any

Added:
  python-tomlkit/repos/community-staging-any/
  python-tomlkit/repos/community-staging-any/PKGBUILD
    (from rev 1057717, python-tomlkit/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-tomlkit/repos/community-staging-any/PKGBUILD (from rev 1057717, python-tomlkit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 14:46:04 UTC (rev 1057718)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=tomlkit
+pkgname=python-tomlkit
+pkgver=0.7.2
+pkgrel=3
+pkgdesc="Style-preserving TOML library for Python"
+url="https://github.com/sdispater/tomlkit"
+license=('MIT')
+arch=('any')
+depends=('python')
+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')
+
+build() {
+  cd tomlkit-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tomlkit-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd tomlkit-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list