summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorclintval2018-04-24 14:19:51 -0700
committerclintval2018-04-24 14:19:51 -0700
commitcc47fa9e095dc3c4cbb16e09742ab803af4358ae (patch)
treea6cb121de1287cf1cb5d188a1826a9341a6e7aa8
parent2f4e5458de63d4c9d15390e9db386300676c2495 (diff)
downloadaur-cc47fa9e095dc3c4cbb16e09742ab803af4358ae.tar.gz
python-notifiers to 0.7.2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04e91c2d3be..174c839e42e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-notifiers
pkgdesc = Python logging library for easily sending notifications
- pkgver = 0.6.4
+ pkgver = 0.7.2
pkgrel = 1
url = https://pypi.python.org/pypi/notifiers
arch = any
@@ -10,8 +10,8 @@ pkgbase = python-notifiers
makedepends = python2
makedepends = python2-setuptools
options = !emptydirs
- source = python-notifiers-0.6.4.tar.gz::https://pypi.io/packages/source/n/notifiers/notifiers-0.6.4.tar.gz
- sha256sums = 477c779aa0f58a6e20c574892a0ff8f0bd6e618f730d5ee673af8e731e1abd22
+ source = python-notifiers-0.7.2.tar.gz::https://pypi.io/packages/source/n/notifiers/notifiers-0.7.2.tar.gz
+ sha256sums = 671a00844ac54317b11b3501bde47fdb1d9be52d37f78abd245aa0f00ebfdf9a
pkgname = python-notifiers
depends = python
diff --git a/PKGBUILD b/PKGBUILD
index a4a347c06c8..373572ce4a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name=notifiers
pkgbase='python-notifiers'
pkgname=('python-notifiers' 'python2-notifiers')
-pkgver=0.6.4
+pkgver=0.7.2
pkgrel=1
pkgdesc="Python logging library for easily sending notifications"
arch=('any')
@@ -14,14 +14,22 @@ makedepends=(
'python2' 'python2-setuptools')
options=(!emptydirs)
source=("${pkgname}"-"${pkgver}".tar.gz::https://pypi.io/packages/source/"${_name:0:1}"/"${_name}"/"${_name}"-"${pkgver}".tar.gz)
-sha256sums=('477c779aa0f58a6e20c574892a0ff8f0bd6e618f730d5ee673af8e731e1abd22')
+sha256sums=('671a00844ac54317b11b3501bde47fdb1d9be52d37f78abd245aa0f00ebfdf9a')
prepare() {
cp -a "${_name}"-"${pkgver}"{,-py2}
+
+ # README.MD is not packaged in the 'tar.gz' so strike reading it.
+ cd "${srcdir}"/"${_name}"-"${pkgver}"
+ sed -i -e '6 {s/^/#/}' -e '7 {s/.*/long_description=""/}' setup.py
+
+ cd "${srcdir}"/"${_name}"-"${pkgver}"-py2
+ sed -i -e '6 {s/^/#/}' -e '7 {s/.*/long_description=""/}' setup.py
}
build(){
cd "${srcdir}"/"${_name}"-"${pkgver}"
+
python setup.py build
cd "${srcdir}"/"${_name}"-"${pkgver}"-py2