Skip to content

Commit

Permalink
nicotine-plus: migrate to python@3.9
Browse files Browse the repository at this point in the history
Closes #63397.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
Rylan12 authored and fxcoudert committed Oct 24, 2020
1 parent c3feaff commit d34132d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/nicotine-plus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class NicotinePlus < Formula
url "https://github.com/Nicotine-Plus/nicotine-plus/archive/2.1.2.tar.gz"
sha256 "3ed18ade97183c632836eb8e304a515fc19a35babb46cc6e6747bcfd8205dcdf"
license "GPL-3.0-or-later"
revision 1
head "https://github.com/Nicotine-Plus/nicotine-plus.git"

bottle do
Expand All @@ -18,7 +19,7 @@ class NicotinePlus < Formula
depends_on "adwaita-icon-theme"
depends_on "gtk+3"
depends_on "pygobject3"
depends_on "python@3.8"
depends_on "python@3.9"
depends_on "taglib"

resource "miniupnpc" do
Expand All @@ -32,9 +33,7 @@ class NicotinePlus < Formula
end

def install
venv = virtualenv_create(libexec, "python3")
venv.pip_install resources
venv.pip_install_and_link buildpath
virtualenv_install_with_resources
end

test do
Expand Down

0 comments on commit d34132d

Please sign in to comment.