Date: Friday, November 25, 2022 @ 00:21:44
Author: felixonmars
Revision: 1353606
archrelease: copy trunk to community-any
Added:
python-ini2toml/repos/community-any/PKGBUILD
(from rev 1353605, python-ini2toml/trunk/PKGBUILD)
Deleted:
python-ini2toml/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-25 00:21:29 UTC (rev 1353605)
+++ PKGBUILD 2022-11-25 00:21:44 UTC (rev 1353606)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-ini2toml
-pkgver=0.11.2
-pkgrel=1
-pkgdesc="Automatically conversion of .ini/.cfg files to TOML equivalents"
-url="https://github.com/abravalheri/ini2toml"
-license=('MPL')
-arch=('any')
-# The default installation is broken. Adding [full] flavor dependencies here.
-depends=('python-configupdater' 'python-packaging' 'python-tomlkit')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-cov' 'python-tomli-w' 'python-validate-pyproject')
-source=("https://github.com/abravalheri/ini2toml/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('49f61da346ffb7494b5d8f5912171792f1243b2ace8fdf51c5ba30fddfc14b237d142094455a242af6f4021ea787fbcc921f426c2a4f4663ca8a8c251a1600fb')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd ini2toml-$pkgver
- python setup.py build
-}
-
-check() {
- cd ini2toml-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- # TODO
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH"
pytest --deselect tests/test_cli.py::test_auto_formatting
-}
-
-package() {
- cd ini2toml-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-ini2toml/repos/community-any/PKGBUILD (from rev 1353605,
python-ini2toml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-25 00:21:44 UTC (rev 1353606)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-ini2toml
+pkgver=0.11.3
+pkgrel=1
+pkgdesc="Automatically conversion of .ini/.cfg files to TOML equivalents"
+url="https://github.com/abravalheri/ini2toml"
+license=('MPL')
+arch=('any')
+# The default installation is broken. Adding [full] flavor dependencies here.
+depends=('python-configupdater' 'python-packaging' 'python-tomlkit')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-cov' 'python-tomli-w' 'python-validate-pyproject')
+source=("https://github.com/abravalheri/ini2toml/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f1331bc47a2d4593788de9d8b1fdbc2231ac22524aaf3a83695c810e0dcbdce4bb46c48363ea150a583e4b24264d7a25f85ece737b31fa0ec0b8a6a2e098a9d5')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd ini2toml-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd ini2toml-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ # TODO
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH"
pytest --deselect tests/test_cli.py::test_auto_formatting
+}
+
+package() {
+ cd ini2toml-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}