[arch-commits] Commit in python-tomlkit/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Oct 28 22:10:17 UTC 2019
Date: Monday, October 28, 2019 @ 22:10:16
Author: felixonmars
Revision: 520873
archrelease: copy trunk to community-staging-any
Added:
python-tomlkit/repos/community-staging-any/PKGBUILD
(from rev 520872, python-tomlkit/trunk/PKGBUILD)
Deleted:
python-tomlkit/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-28 22:09:54 UTC (rev 520872)
+++ PKGBUILD 2019-10-28 22:10:16 UTC (rev 520873)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=tomlkit
-pkgname=python-tomlkit
-pkgver=0.5.8
-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-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('e224ad4522279ea94977eb60739d2a43ddbb2d60bac5d00eaa0a93e06cded14eb030c3438ec4be982437c75cc317d89c674fc9e00239e12f41a4ac57285be3e1')
-
-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
-}
-
-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/
-}
Copied: python-tomlkit/repos/community-staging-any/PKGBUILD (from rev 520872, python-tomlkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-28 22:10:16 UTC (rev 520873)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=tomlkit
+pkgname=python-tomlkit
+pkgver=0.5.8
+pkgrel=3
+pkgdesc="Style-preserving TOML library for Python"
+url="https://github.com/sdispater/tomlkit"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-dephell')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('e224ad4522279ea94977eb60739d2a43ddbb2d60bac5d00eaa0a93e06cded14eb030c3438ec4be982437c75cc317d89c674fc9e00239e12f41a4ac57285be3e1')
+
+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
+}
+
+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