[arch-commits] Commit in python-netifaces/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 24 18:02:50 UTC 2016
Date: Saturday, December 24, 2016 @ 18:02:49
Author: felixonmars
Revision: 201734
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-netifaces/repos/community-staging-i686/
python-netifaces/repos/community-staging-i686/PKGBUILD
(from rev 201733, python-netifaces/trunk/PKGBUILD)
python-netifaces/repos/community-staging-x86_64/
python-netifaces/repos/community-staging-x86_64/PKGBUILD
(from rev 201733, python-netifaces/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: python-netifaces/repos/community-staging-i686/PKGBUILD (from rev 201733, python-netifaces/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-24 18:02:49 UTC (rev 201734)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Ghost of Kendo <ghostofkendo at gmail dot com>
+
+pkgbase=python-netifaces
+pkgname=(python-netifaces python2-netifaces)
+pkgver=0.10.5
+pkgrel=2
+pkgdesc="Portable module to access network interface information in Python"
+arch=('i686' 'x86_64')
+url="http://alastairs-place.net/netifaces/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
+md5sums=('5b4d1f1310ed279e6df27ef3a9b71519')
+
+prepare() {
+ cp -a "${srcdir}/netifaces-${pkgver}"{,-py2}
+}
+
+package_python-netifaces() {
+ depends=('python')
+
+ cd "${srcdir}/netifaces-${pkgver}"
+ python setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-netifaces() {
+ depends=('python2')
+
+ cd "${srcdir}/netifaces-${pkgver}-py2"
+ python2 setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: python-netifaces/repos/community-staging-x86_64/PKGBUILD (from rev 201733, python-netifaces/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-24 18:02:49 UTC (rev 201734)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Ghost of Kendo <ghostofkendo at gmail dot com>
+
+pkgbase=python-netifaces
+pkgname=(python-netifaces python2-netifaces)
+pkgver=0.10.5
+pkgrel=2
+pkgdesc="Portable module to access network interface information in Python"
+arch=('i686' 'x86_64')
+url="http://alastairs-place.net/netifaces/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
+md5sums=('5b4d1f1310ed279e6df27ef3a9b71519')
+
+prepare() {
+ cp -a "${srcdir}/netifaces-${pkgver}"{,-py2}
+}
+
+package_python-netifaces() {
+ depends=('python')
+
+ cd "${srcdir}/netifaces-${pkgver}"
+ python setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-netifaces() {
+ depends=('python2')
+
+ cd "${srcdir}/netifaces-${pkgver}-py2"
+ python2 setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list