Date: Monday, May 8, 2023 @ 07:57:18
Author: felixonmars
Revision: 1459449
archrelease: copy trunk to community-any
Added:
python-pytoolconfig/repos/community-any/PKGBUILD
(from rev 1459448, python-pytoolconfig/trunk/PKGBUILD)
Deleted:
python-pytoolconfig/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-08 07:57:09 UTC (rev 1459448)
+++ PKGBUILD 2023-05-08 07:57:18 UTC (rev 1459449)
@@ -1,45 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-# Contributor: bonob <bonob at fastmail dot com>
-
-pkgname=python-pytoolconfig
-_name=${pkgname#python-}
-pkgver=1.2.5
-pkgrel=1
-pkgdesc="Manage configuration for python tools, such as black and rope."
-arch=('any')
-url="https://pypi.org/project/pytoolconfig/"
-license=('LGPL3')
-depends=('python' 'python-tomli' 'python-packaging')
-makedepends=('python-build' 'python-installer' 'python-wheel'
'python-pdm-pep517')
-checkdepends=('python-docutils' 'python-pytest' 'python-sphinx'
'python-tabulate')
-optdepends=(
- 'python-appdirs: for finding configuration dirs'
- 'python-pydantic: for validation'
- 'python-sphinx: for automatic documentation'
- 'python-tabulate: for tables in documentation'
-)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('a50f9dfe23b03a9d40414c1fdf902fefbeae12f2ac75a3c8f915944d6ffac279')
-
-prepare() {
- # fix unsupported identifier
- sed -e 's/-expression//' -i "$_name-$pkgver/pyproject.toml"
-}
-
-build() {
- cd "$_name-$pkgver"
- python -m build --wheel --no-isolation
-}
-
-check() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- cd "$_name-$pkgver"
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv
-}
-
-package() {
- cd "$_name-$pkgver"
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-pytoolconfig/repos/community-any/PKGBUILD (from rev 1459448,
python-pytoolconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-08 07:57:18 UTC (rev 1459449)
@@ -0,0 +1,45 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: bonob <bonob at fastmail dot com>
+
+pkgname=python-pytoolconfig
+_name=${pkgname#python-}
+pkgver=1.2.5
+pkgrel=2
+pkgdesc="Manage configuration for python tools, such as black and rope."
+arch=('any')
+url="https://pypi.org/project/pytoolconfig/"
+license=('LGPL3')
+depends=('python' 'python-packaging')
+makedepends=('python-build' 'python-installer' 'python-wheel'
'python-pdm-pep517')
+checkdepends=('python-docutils' 'python-pytest' 'python-sphinx'
'python-tabulate')
+optdepends=(
+ 'python-appdirs: for finding configuration dirs'
+ 'python-pydantic: for validation'
+ 'python-sphinx: for automatic documentation'
+ 'python-tabulate: for tables in documentation'
+)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('a50f9dfe23b03a9d40414c1fdf902fefbeae12f2ac75a3c8f915944d6ffac279')
+
+prepare() {
+ # fix unsupported identifier
+ sed -e 's/-expression//' -i "$_name-$pkgver/pyproject.toml"
+}
+
+build() {
+ cd "$_name-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ cd "$_name-$pkgver"
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ pytest -vv
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}