[arch-commits] Commit in python-schedutils/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Feb 18 21:42:45 UTC 2019
Date: Monday, February 18, 2019 @ 21:42:44
Author: dvzrv
Revision: 434294
archrelease: copy trunk to community-x86_64
Added:
python-schedutils/repos/community-x86_64/PKGBUILD
(from rev 434293, python-schedutils/trunk/PKGBUILD)
Deleted:
python-schedutils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 +++++++++++++++++++++----------------------------------------
1 file changed, 29 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-18 21:42:34 UTC (rev 434293)
+++ PKGBUILD 2019-02-18 21:42:44 UTC (rev 434294)
@@ -1,55 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
-# Contributor: Ninez <triplesquarednine at gmail.com>
-
-pkgbase=python-schedutils
-pkgname=('python-schedutils' 'python2-schedutils')
-pkgver=0.6
-pkgrel=4
-pkgdesc="Python interface for the Linux scheduler functions etc."
-arch=('x86_64')
-url="https://git.kernel.org/cgit/libs/python/python-schedutils/python-schedutils.git/"
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://git.kernel.org/pub/scm/libs/python/${pkgbase}/${pkgbase}.git/snapshot/${pkgbase}-${pkgver}.tar.gz")
-sha512sums=('e340cd60045f5f96ad722b1651ef5e26c3a99a4a986fbbcb0319e036a76a56c67b9b3792936da05776e43b4c92605f820f7fe6294b6197c00e5360c39767807b')
-
-
-prepare() {
- cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
-}
-
-build() {
- cd "${pkgname[0]}-${pkgver}"
- python setup.py build
- cd ../"${pkgname[1]}-${pkgver}"
- python2 setup.py build
-}
-
-package_python-schedutils() {
- depends=('python')
- cd "${pkgname[0]}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}/"
- install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" -vDm644 {ChangeLog,README}
-}
-
-package_python2-schedutils() {
- depends=('python2')
- cd "${pkgname[1]}-${pkgver}"
- python2 setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}/"
- install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" -vDm644 {ChangeLog,README}
- mv -v "${pkgdir}/usr/bin/pchrt" "${pkgdir}/usr/bin/pchrt2"
- mv -v "${pkgdir}/usr/bin/ptaskset" "${pkgdir}/usr/bin/ptaskset2"
- mv -v "${pkgdir}/usr/share/man/man1/pchrt.1" \
- "${pkgdir}/usr/share/man/man1/pchrt2.1"
- mv -v "${pkgdir}/usr/share/man/man1/ptaskset.1" \
- "${pkgdir}/usr/share/man/man1/ptaskset2.1"
-}
-# vim:set ts=2 sw=2 et:
-
Copied: python-schedutils/repos/community-x86_64/PKGBUILD (from rev 434293, python-schedutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-18 21:42:44 UTC (rev 434294)
@@ -0,0 +1,29 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
+# Contributor: Ninez <triplesquarednine at gmail.com>
+
+pkgname=python-schedutils
+pkgver=0.6
+pkgrel=5
+pkgdesc="Python interface for the Linux scheduler functions etc."
+arch=('x86_64')
+url="https://git.kernel.org/cgit/libs/python/python-schedutils/python-schedutils.git/"
+license=('GPL2')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://git.kernel.org/pub/scm/libs/python/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('e340cd60045f5f96ad722b1651ef5e26c3a99a4a986fbbcb0319e036a76a56c67b9b3792936da05776e43b4c92605f820f7fe6294b6197c00e5360c39767807b')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package_python-schedutils() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ install -vDm 644 {ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list