Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631860 - dev-python/sabyenc-3.3.1: version bump
Summary: dev-python/sabyenc-3.3.1: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 631864
  Show dependency tree
 
Reported: 2017-09-23 17:13 UTC by Sébastien P.
Modified: 2017-09-29 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien P. 2017-09-23 17:13:30 UTC
Needed for >=sabnzbd-2.3.0
There is no changelog except https://github.com/sabnzbd/sabyenc/commits/master
Patch 0001 is not needed anymore (flag removed by upstream). This new ebuild seems to work fine.

Please assign it to jsbronder.
Comment 1 Sébastien P. 2017-09-23 17:15:38 UTC
Attachment failed:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd"
HOMEPAGE="https://github.com/sabnzbd/sabyenc/"
SRC_URI="https://github.com/sabnzbd/${PN}/tarball/v${PV} -> ${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

DEPEND="
	test? (	dev-python/pytest[${PYTHON_USEDEP}] )"

DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )

python_test() {
	pytest -v || die "Test failed."
}
Comment 2 Sébastien P. 2017-09-23 17:16:29 UTC
--- /usr/portage/dev-python/sabyenc/sabyenc-3.0.2.ebuild        2017-08-05 22:56:12.000000000 +0200                                                                                                                                                                            
+++ /usr/portage/dev-python/sabyenc/sabyenc-3.3.1.ebuild  2017-09-23 18:57:08.118441440 +0200                                                                                                                                                                            
@@ -18,8 +18,6 @@                                                                                                                                                                                                                                                              
 DEPEND="                                                                                                                                                                                                                                                                      
        test? ( dev-python/pytest[${PYTHON_USEDEP}] )"                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                               
-# Remove forced CFLAG on setup.py                                                                                                                                                                                                                                             
-PATCHES=( "${FILESDIR}"/0001-remove-hardcoded-cflags.patch )                                                                                                                                                                                                                  
 DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                               
 python_test() {
Comment 3 Sébastien P. 2017-09-23 17:17:27 UTC
Patch is horrible sorry. Just two lines removed…
Comment 4 Justin Bronder (RETIRED) gentoo-dev 2017-09-29 16:48:38 UTC
commit d739430145e2522e429707fadd397cb5191f48e6
Author: Justin Bronder <jsbronder@gentoo.org>
Date:   Wed Sep 27 11:03:48 2017 -0400

    dev-python/sabyenc: bump 3.3.1
    
    Fixes #631860
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.1

Thanks for reporting and testing.