Date: Thursday, March 23, 2023 @ 08:43:34
Author: felixonmars
Revision: 1427167
archrelease: copy trunk to community-any
Added:
python-poetry-plugin-export/repos/community-any/PKGBUILD
(from rev 1427166, python-poetry-plugin-export/trunk/PKGBUILD)
Deleted:
python-poetry-plugin-export/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-23 08:43:20 UTC (rev 1427166)
+++ PKGBUILD 2023-03-23 08:43:34 UTC (rev 1427167)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_pkgname=poetry-plugin-export
-pkgname=python-poetry-plugin-export
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="Poetry plugin to export the dependencies to various formats "
-url="https://github.com/python-poetry/poetry-plugin-export"
-license=('MIT')
-arch=('any')
-depends=('python-poetry')
-makedepends=('python-build' 'python-installer')
-checkdepends=('python-pytest-mock' 'python-pytest-xdist')
-source=("https://github.com/python-poetry/poetry-plugin-export/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('aeeacc711dc4852517894318e1e40c3ff77adc3651c87c1fbb9c78c6f802e6282084d99052517dda6aab99fc55ba157ce5cb5b51d2838158774e87d294543661')
-
-build() {
- cd poetry-plugin-export-$pkgver
- python -m build -wn
-}
-
-check() {
- cd poetry-plugin-export-$pkgver
- python -m installer -d tmp_install dist/*.whl
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages" pytest
-}
-
-package() {
- cd poetry-plugin-export-$pkgver
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: python-poetry-plugin-export/repos/community-any/PKGBUILD (from rev
1427166, python-poetry-plugin-export/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-23 08:43:34 UTC (rev 1427167)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+_pkgname=poetry-plugin-export
+pkgname=python-poetry-plugin-export
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Poetry plugin to export the dependencies to various formats "
+url="https://github.com/python-poetry/poetry-plugin-export"
+license=('MIT')
+arch=('any')
+depends=('python-poetry')
+makedepends=('python-build' 'python-installer')
+checkdepends=('python-pytest-mock' 'python-pytest-xdist')
+source=("https://github.com/python-poetry/poetry-plugin-export/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('cdb0cece91470141956833780dfcad676e99b51fa6158521401499b8f67c3e6f954ce16e227b7916336cef011f4a7b651948a8440852253fe57753eb40bbf8e5')
+
+build() {
+ cd poetry-plugin-export-$pkgver
+ python -m build -wn
+}
+
+check() {
+ cd poetry-plugin-export-$pkgver
+ python -m installer -d tmp_install dist/*.whl
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ PYTHONPATH="$PWD/tmp_install/$site_packages" pytest
+}
+
+package() {
+ cd poetry-plugin-export-$pkgver
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}