Date: Saturday, February 18, 2023 @ 11:30:19
Author: foxxx0
Revision: 1402922
archrelease: copy trunk to community-any
Added:
python-pyroute2/repos/community-any/PKGBUILD
(from rev 1402921, python-pyroute2/trunk/PKGBUILD)
Deleted:
python-pyroute2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-18 11:30:13 UTC (rev 1402921)
+++ PKGBUILD 2023-02-18 11:30:19 UTC (rev 1402922)
@@ -1,55 +0,0 @@
-# Maintainer: Thore Bödecker <[email protected]>
-# Contributor: brent s. <bts[at]square-r00t[dot]net>
-# Contributor: Alexander Phinikarides <alexisph _AT_ gmail _DOT_ com>
-
-pkgbase='python-pyroute2'
-_pkgbase="${pkgbase//python-/}"
-pkgname=("python-${_pkgbase}")
-pkgdesc="A pure Python netlink and Linux network configuration library"
-pkgver=0.7.3
-pkgrel=1
-arch=('any')
-url="https://docs.pyroute2.org/"
-license=('GPL2' 'Apache')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-wheel'
'python-setuptools')
-checkdepends=('python-pytest' 'python-netaddr')
-source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/svinota/${_pkgbase}/archive/${pkgver}.tar.gz")
-sha512sums=('c8aeddaeaa014bcf8c4b831cb5b4080db5c99b582f3999fdbdd840b9448e032fbbf64ce5707ebc0795765138d8e89cde830efb2469c827ed8d4e63dd1beafe62')
-
-prepare() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
-
- # Update the version manually. Otherwise it would look for a git tag which
is not present in the distribution.
- sed -i "s/version = get_project_version.*$/version = '${pkgver}'/"
util/update_version.py
-}
-
-build() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python -m build --wheel --no-isolation
-
- # TODO: building the manpages requires additional packages
- # - python-sphinx (available in repo)
- # - python-aafigure (available in repo)
- # - python-sphinx-code-include (NOT available in repo yet)
- # https://pypi.org/project/sphinx-code-include/
-
- #export PYTHONPATH="${PWD}"
- #cd docs
- #make man
-}
-
-check() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- export PYTHONPATH="${PWD}"
- pytest -vv \
- tests/test_minimal/*.py \
- tests/test_unit/*.py
-}
-
-package() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python -m installer --destdir="${pkgdir}" dist/*.whl
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pyroute2/repos/community-any/PKGBUILD (from rev 1402921,
python-pyroute2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-18 11:30:19 UTC (rev 1402922)
@@ -0,0 +1,55 @@
+# Maintainer: Thore Bödecker <[email protected]>
+# Contributor: brent s. <bts[at]square-r00t[dot]net>
+# Contributor: Alexander Phinikarides <alexisph _AT_ gmail _DOT_ com>
+
+pkgbase='python-pyroute2'
+_pkgbase="${pkgbase//python-/}"
+pkgname=("python-${_pkgbase}")
+pkgdesc="A pure Python netlink and Linux network configuration library"
+pkgver=0.7.5
+pkgrel=1
+arch=('any')
+url="https://docs.pyroute2.org/"
+license=('GPL2' 'Apache')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel'
'python-setuptools')
+checkdepends=('python-pytest' 'python-netaddr')
+source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/svinota/${_pkgbase}/archive/${pkgver}.tar.gz")
+sha512sums=('7d381fe341ad756fa7c8a8d236f2f50858289387915b329d587aeccf201056483972b99e6c689aec86f095fc57e0966f7f4071d650eeb9b82c418741f8c4c799')
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+ # Update the version manually. Otherwise it would look for a git tag which
is not present in the distribution.
+ sed -i "s/version = get_project_version.*$/version = '${pkgver}'/"
util/update_version.py
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python -m build --wheel --no-isolation
+
+ # TODO: building the manpages requires additional packages
+ # - python-sphinx (available in repo)
+ # - python-aafigure (available in repo)
+ # - python-sphinx-code-include (NOT available in repo yet)
+ # https://pypi.org/project/sphinx-code-include/
+
+ #export PYTHONPATH="${PWD}"
+ #cd docs
+ #make man
+}
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ export PYTHONPATH="${PWD}"
+ pytest -vv \
+ tests/test_minimal/*.py \
+ tests/test_unit/*.py
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+}
+
+# vim:set ts=2 sw=2 et: