[arch-commits] Commit in python-pyroute2/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Tue Mar 3 15:40:05 UTC 2020
Date: Tuesday, March 3, 2020 @ 15:40:01
Author: foxxx0
Revision: 589781
archrelease: copy trunk to community-any
Added:
python-pyroute2/repos/community-any/PKGBUILD
(from rev 589780, python-pyroute2/trunk/PKGBUILD)
Deleted:
python-pyroute2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++--------------------------------------
1 file changed, 34 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-03 15:39:50 UTC (rev 589780)
+++ PKGBUILD 2020-03-03 15:40:01 UTC (rev 589781)
@@ -1,56 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# 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}" "python2-${_pkgbase}")
-pkgdesc="A pure Python netlink and Linux network configuration library"
-pkgver=0.5.7
-pkgrel=2
-arch=('any')
-url="https://docs.pyroute2.org/"
-license=('GPL2' 'Apache')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha512sums=('6f948eb99a96ad57de7612565da0eb1e14fb59a1defc88e2bac930d77ae5efcff7268a0109cf608cbd2c6afc81d99aab18ad3b4257731946ee6ba9608cd5ac00')
-
-prepare() {
- cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
-}
-
-build() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py check
-
- cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
- python2 setup.py check
-}
-
-package_python-pyroute2() {
- depends=('python')
-
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-pyroute2() {
- depends=('python2')
-
- cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- # those are conflicting, if you actually need the command line utils
- # use the py3 package to obtain them
- rm -f "${pkgdir}"/usr/bin/{pyroute2-cli,ss2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pyroute2/repos/community-any/PKGBUILD (from rev 589780, python-pyroute2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-03 15:40:01 UTC (rev 589781)
@@ -0,0 +1,34 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# 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.5.9
+pkgrel=1
+arch=('any')
+url="https://docs.pyroute2.org/"
+license=('GPL2' 'Apache')
+depends=('python')
+makedepends=('python' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha512sums=('d3d2c1a06f6f317ab6950c7b5c2bee318c4cdb0695f2779f3aa10f45d9f368e8c72a8cb21c4fb6ab5b92b1306ab4fb63cf9c87d86c711a122d01d7f5151aaf04')
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py check
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list