[arch-commits] Commit in python-vector/repos/community-any (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Wed Mar 23 12:42:40 UTC 2022
Date: Wednesday, March 23, 2022 @ 12:42:40
Author: kgizdov
Revision: 1171338
archrelease: copy trunk to community-any
Added:
python-vector/repos/community-any/PKGBUILD
(from rev 1171336, python-vector/trunk/PKGBUILD)
Deleted:
python-vector/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-23 12:42:39 UTC (rev 1171337)
+++ PKGBUILD 2022-03-23 12:42:40 UTC (rev 1171338)
@@ -1,31 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname='vector'
-pkgname="python-${_pkgname}"
-pkgver='0.8.4'
-pkgrel=1
-pkgdesc="A library for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way."
-arch=('any')
-url='https://github.com/scikit-hep/vector'
-license=('MIT')
-depends=('python-numpy' 'python-packaging' 'python-importlib-metadata' 'python-typing-extensions')
-makedepends=('git' 'python-setuptools' 'python-setuptools-scm' 'python-toml')
-checkdepends=('python-pytest' )
-source=("${pkgname}::git+${url}#tag=v${pkgver}")
-sha256sums=('SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}"
- python setup.py bdist_egg
-}
-
-check() {
- cd "${srcdir}/${pkgname}"
- PYTHONPATH="${PWD}/build/lib:${PWD}/src" pytest
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-vector/repos/community-any/PKGBUILD (from rev 1171336, python-vector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-23 12:42:40 UTC (rev 1171338)
@@ -0,0 +1,31 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname='vector'
+pkgname="python-${_pkgname}"
+pkgver='0.8.5'
+pkgrel=1
+pkgdesc="A library for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way."
+arch=('any')
+url='https://github.com/scikit-hep/vector'
+license=('MIT')
+depends=('python-numpy' 'python-packaging' 'python-importlib-metadata' 'python-typing-extensions')
+makedepends=('git' 'python-setuptools' 'python-setuptools-scm' 'python-toml')
+checkdepends=('python-pytest' )
+source=("${pkgname}::git+${url}#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py bdist_egg
+}
+
+check() {
+ cd "${srcdir}/${pkgname}"
+ PYTHONPATH="${PWD}/build/lib:${PWD}/src" pytest
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py install --skip-build --root="${pkgdir}/" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list