Date: Wednesday, May 3, 2023 @ 19:30:11
Author: felixonmars
Revision: 1458502
archrelease: copy trunk to community-any
Added:
python-libvcs/repos/community-any/PKGBUILD
(from rev 1458501, python-libvcs/trunk/PKGBUILD)
Deleted:
python-libvcs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-03 19:30:01 UTC (rev 1458501)
+++ PKGBUILD 2023-05-03 19:30:11 UTC (rev 1458502)
@@ -1,51 +0,0 @@
-# Maintainer: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
-
-_name='libvcs'
-pkgname="python-${_name}"
-pkgver=0.21.1
-pkgrel=2
-pkgdesc='Lite, typed, pythonic utilities for git, svn, mercurial, etc'
-arch=('any')
-url='https://libvcs.git-pull.com/'
-license=('MIT')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-poetry-core'
'python-typing_extensions')
-checkdepends=('git' 'mercurial' 'python-pytest' 'python-pytest-mock'
'subversion')
-optdepends=(
- 'git: for git repository support'
- 'mercurial: for mercurial repository support'
- 'subversion: for subversion repository support'
- 'python-pytest: for pytest plugin'
-)
-source=("https://github.com/vcs-python/libvcs/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('8df80aa066eeebfdd64fb49b71167171a0194c023bd262422468052599a30e4374c8bedcf54d82fd32b5d06d7d5206e89a88bcd89d4e598a0191dbe823f399d5')
-b2sums=('edbb9c58446f8566d3d26159eee454a2c201dededaa68a697078347b7524971b7f6b85e33b3b362e97b3ceeea98c79e8e869356f8e1cc8437b7138a7e58e47f6')
-
-build() {
- cd "${_name}-${pkgver}"
-
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd "${_name}-${pkgver}"
-
- local _site_packages="$(python -c "import site;
print(site.getsitepackages()[0])")"
-
- python -m installer --destdir=test_dir dist/*.whl
-
- export PYTHONPATH="test_dir${_site_packages}:${PYTHONPATH}"
-
- pytest -vv tests
-}
-
-package() {
- cd "${_name}-${pkgver}"
-
- python -m installer --destdir="${pkgdir}" dist/*.whl
-
- install --verbose -D --mode=0644 LICENSE --target-directory
"${pkgdir}/usr/share/licenses/${pkgname}"
- install --verbose -D --mode=0644 *.md CHANGES MIGRATION --target-directory
"${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: tabstop=2 shiftwidth=2 expandtab:
Copied: python-libvcs/repos/community-any/PKGBUILD (from rev 1458501,
python-libvcs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-03 19:30:11 UTC (rev 1458502)
@@ -0,0 +1,51 @@
+# Maintainer: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
+
+_name='libvcs'
+pkgname="python-${_name}"
+pkgver=0.21.2
+pkgrel=3
+pkgdesc='Lite, typed, pythonic utilities for git, svn, mercurial, etc'
+arch=('any')
+url='https://libvcs.git-pull.com/'
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-poetry-core'
'python-typing_extensions')
+checkdepends=('git' 'mercurial' 'python-pytest' 'python-pytest-mock'
'subversion')
+optdepends=(
+ 'git: for git repository support'
+ 'mercurial: for mercurial repository support'
+ 'subversion: for subversion repository support'
+ 'python-pytest: for pytest plugin'
+)
+source=("https://github.com/vcs-python/libvcs/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('904cc6a75a8878e2df083908e5d0bf95d790046af73c410f9c42ebf484b33cc9add72300c763cb728ed669792b89a02eee1b71757645143763749c199e14c85f')
+b2sums=('863a998991cbc133b65711926c75e5be0fbab61ac51f39980dc77b64806b44d9bf37868a6ac1d6e5dbfde6de067543a0e6da002908d9ee6af3f169f34382d79c')
+
+build() {
+ cd "${_name}-${pkgver}"
+
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+
+ local _site_packages="$(python -c "import site;
print(site.getsitepackages()[0])")"
+
+ python -m installer --destdir=test_dir dist/*.whl
+
+ export PYTHONPATH="test_dir${_site_packages}:${PYTHONPATH}"
+
+ pytest -vv tests
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+
+ install --verbose -D --mode=0644 LICENSE --target-directory
"${pkgdir}/usr/share/licenses/${pkgname}"
+ install --verbose -D --mode=0644 *.md CHANGES MIGRATION --target-directory
"${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: tabstop=2 shiftwidth=2 expandtab: