[arch-commits] Commit in python-selinux/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Jul 9 21:21:38 UTC 2020


    Date: Thursday, July 9, 2020 @ 21:21:37
  Author: dvzrv
Revision: 663030

archrelease: copy trunk to community-any

Added:
  python-selinux/repos/community-any/PKGBUILD
    (from rev 663029, python-selinux/trunk/PKGBUILD)
Deleted:
  python-selinux/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 21:21:32 UTC (rev 663029)
+++ PKGBUILD	2020-07-09 21:21:37 UTC (rev 663030)
@@ -1,33 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=selinux
-pkgname=python-selinux
-pkgver=0.2.1
-pkgrel=1
-pkgdesc="Pure-python selinux shim module for use in virtualenvs"
-arch=('any')
-url="https://github.com/pycontribs/selinux"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('e0bec9113461a4dc53e4965522b222bd674212fe1fd987180488d6d9183a1c25588ac9bec4a040595f9313932bc04b83e7f27505d539412fc0d49c2188679831')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-selinux/repos/community-any/PKGBUILD (from rev 663029, python-selinux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-09 21:21:37 UTC (rev 663030)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=selinux
+pkgname=python-selinux
+pkgver=0.2.1
+pkgrel=2
+pkgdesc="Pure-python selinux shim module for use in virtualenvs"
+arch=('any')
+url="https://github.com/pycontribs/selinux"
+license=('MIT')
+depends=('python-distro' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('e0bec9113461a4dc53e4965522b222bd674212fe1fd987180488d6d9183a1c25588ac9bec4a040595f9313932bc04b83e7f27505d539412fc0d49c2188679831')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list