summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python-gnusrss/PKGBUILD12
-rw-r--r--pcr/python-gnusrss/gnusrss-setup_encoding.patch11
2 files changed, 3 insertions, 20 deletions
diff --git a/pcr/python-gnusrss/PKGBUILD b/pcr/python-gnusrss/PKGBUILD
index b9ecf7708..8d29f5290 100644
--- a/pcr/python-gnusrss/PKGBUILD
+++ b/pcr/python-gnusrss/PKGBUILD
@@ -2,7 +2,7 @@
_name=gnusrss
pkgname=python-${_name}
-pkgver=0.2.1.7
+pkgver=0.2.1.8
pkgrel=1
pkgdesc="Python program to post RSS to GNU Social"
arch=('any')
@@ -10,15 +10,9 @@ url="http://daemons.cf/cgit/gnusrss/"
license=('GPL')
depends=('python-feedparser' 'python-pycurl' 'sqlite')
makedepends=('python-setuptools')
-source=("http://daemons.cf/cgit/${_name}/snapshot/${_name}-${pkgver}.tar.gz"
- 'gnusrss-setup_encoding.patch')
-md5sums=('2ee38f6ad98fcf55a1877e4af193eb81'
- '27baacf85df644a0b2406a6216243a9d')
+source=("http://daemons.cf/cgit/${_name}/snapshot/${_name}-${pkgver}.tar.gz")
+md5sums=('67295d7fdb69f378cde0af2e23a40f9b')
-prepare() {
- cd "${srcdir}/${_name}-${pkgver}"
- patch -Np1 -i "${srcdir}/gnusrss-setup_encoding.patch"
-}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
diff --git a/pcr/python-gnusrss/gnusrss-setup_encoding.patch b/pcr/python-gnusrss/gnusrss-setup_encoding.patch
deleted file mode 100644
index 7670ee9a5..000000000
--- a/pcr/python-gnusrss/gnusrss-setup_encoding.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gnusrss-0.2.1.7.orig/setup.py 2015-12-14 15:13:40.000000000 -0500
-+++ gnusrss-0.2.1.7/setup.py 2015-12-19 18:06:03.391772318 -0500
-@@ -7,7 +7,7 @@
- setup(name='gnusrss',
- version=VERSION,
- description='Post feeds to GNU Social.',
-- long_description=open('README').read(),
-+ long_description=open('README', encoding='utf-8').read(),
- author='drymer',
- author_email='drymer@autistici.org',
- url='http://daemons.cf/cgit/gnusrss/about/',