tags 937001 patch
thanks

On Fri, Aug 30, 2019 at 07:25:49AM +0000, Matthias Klose wrote:
> Package: src:mediaelement
> Version: 2.15.1+dfsg-1
> Severity: normal
> Tags: sid bullseye
> User: debian-pyt...@lists.debian.org
> Usertags: py2removal
> 
> Python2 becomes end-of-live upstream, and Debian aims to remove
> Python2 from the distribution, as discussed in
> https://lists.debian.org/debian-python/2019/07/msg00080.html
> 
> Your package either build-depends, depends on Python2, or uses Python2
> in the autopkg tests.  Please stop using Python2, and fix this issue
> by one of the following actions.

The build script mediaelement is already Python 3 compatible, patch
attached.

Cheers,
        Moritz
diff -aur mediaelement-2.15.1+dfsg.orig/debian/control mediaelement-2.15.1+dfsg/debian/control
--- mediaelement-2.15.1+dfsg.orig/debian/control	2014-09-03 03:26:55.000000000 +0200
+++ mediaelement-2.15.1+dfsg/debian/control	2020-04-28 22:42:08.970278413 +0200
@@ -4,7 +4,7 @@
 Maintainer: Debian JavaScript Maintainers <pkg-javascript-de...@lists.alioth.debian.org>
 Uploaders: ownCloud for Debian maintainers <pkg-owncloud-maintain...@lists.alioth.debian.org>,
            David Prévot <taf...@debian.org>
-Build-Depends: closure-compiler, debhelper (>= 9), python, yui-compressor
+Build-Depends: closure-compiler, debhelper (>= 9), python3, yui-compressor
 Standards-Version: 3.9.5
 Homepage: http://mediaelementjs.com/
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/mediaelement.git
diff -aur mediaelement-2.15.1+dfsg.orig/debian/rules mediaelement-2.15.1+dfsg/debian/rules
--- mediaelement-2.15.1+dfsg.orig/debian/rules	2014-09-03 03:26:09.000000000 +0200
+++ mediaelement-2.15.1+dfsg/debian/rules	2020-04-28 22:42:16.496013875 +0200
@@ -3,5 +3,5 @@
 	dh $@
 
 override_dh_auto_build:
-	cd $(CURDIR)/src && ./Builder.py
+	cd $(CURDIR)/src && python3 ./Builder.py
 	dh_auto_build

Reply via email to