[arch-commits] Commit in python-selinux/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 12:08:23 UTC 2020


    Date: Thursday, November 12, 2020 @ 12:08:23
  Author: felixonmars
Revision: 751679

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 12:08:22 UTC (rev 751678)
+++ PKGBUILD	2020-11-12 12:08:23 UTC (rev 751679)
@@ -1,32 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=selinux
-pkgname=python-selinux
-pkgver=0.2.1
-pkgrel=3
-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}"
-}

Copied: python-selinux/repos/community-staging-any/PKGBUILD (from rev 751676, python-selinux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 12:08:23 UTC (rev 751679)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=selinux
+pkgname=python-selinux
+pkgver=0.2.1
+pkgrel=4
+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