Date: Friday, April 28, 2023 @ 09:07:02
Author: alerque
Revision: 1449065
archrelease: copy trunk to community-staging-any
Added:
python-tomlkit/repos/community-staging-any/PKGBUILD
(from rev 1449064, python-tomlkit/trunk/PKGBUILD)
Deleted:
python-tomlkit/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-28 09:06:53 UTC (rev 1449064)
+++ PKGBUILD 2023-04-28 09:07:02 UTC (rev 1449065)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=tomlkit
-pkgname=python-tomlkit
-pkgver=0.11.7
-pkgrel=3
-pkgdesc="Style-preserving TOML library for Python"
-url="https://github.com/sdispater/tomlkit"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-build'
- 'python-installer'
- 'python-poetry-core'
- 'python-wheel')
-checkdepends=('python-pytest'
- 'python-yaml')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('456de2047fe1da1905ebf6eed99bdbd7d565fab2ecb50b9c06655188271d52b3680882ce0db2beb69fa9e7d18548b8045a99c4897e12e1d92d9cf92a937864ab')
-
-build() {
- cd tomlkit-$pkgver
- python -m build -wn
-}
-
-check() {
- cd tomlkit-$pkgver
- pytest
-}
-
-package() {
- cd tomlkit-$pkgver
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: python-tomlkit/repos/community-staging-any/PKGBUILD (from rev 1449064,
python-tomlkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-28 09:07:02 UTC (rev 1449065)
@@ -0,0 +1,36 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=tomlkit
+pkgname=python-tomlkit
+pkgver=0.11.8
+pkgrel=2
+pkgdesc='Style-preserving TOML library for Python'
+url="https://github.com/sdispater/$_pkgname"
+license=(MIT)
+arch=(any)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+ python-poetry-core)
+checkdepends=(python-pytest
+ python-yaml)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
+sha256sums=('9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ pytest
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}