@@ -7,21 +7,21 @@ class Sickchill < Formula
77 sha256 "e7079bb77b415eb6697a63d9018db1ad317d06ad285d0d77893747cbf000aa17"
88 license "GPL-3.0-or-later"
99 revision 3
10+ head "https://github.com/SickChill/SickChill.git" , branch : "master"
1011
1112 bottle do
12- sha256 cellar : :any_skip_relocation , arm64_tahoe : "ca624275ee4cdb61fd63a6c3c400ce82f8226b15a921a7253d164d3b1d7667d5"
13- sha256 cellar : :any_skip_relocation , arm64_sequoia : "0de949c3d5312e5235c4f3221e579a44215042d6e9855971454bab017a401af3"
14- sha256 cellar : :any_skip_relocation , arm64_sonoma : "4bb1e6c596ddd8c99a708c85cb8c7c721496463d37b981b7d11d3b06f465ae8e"
15- sha256 cellar : :any_skip_relocation , arm64_ventura : "98a95b2dda71e8f950c30e16e266490462a1dced84a9a5590d73c67c2580722a"
16- sha256 cellar : :any_skip_relocation , sonoma : "143b56432655a6b6949e48b2d5a9f5a575f86de225dba6ab8b1cce5d998fc4e8"
17- sha256 cellar : :any_skip_relocation , ventura : "16320aa1c8ba370423ba9b5378799013ceb865cd593b24b71dbcc85e4997a465"
18- sha256 cellar : :any_skip_relocation , arm64_linux : "3e19a4b29ed149e969e8903546cc4b5e9a6e1ba00b76accf846aa4cfc4f94308"
19- sha256 cellar : :any_skip_relocation , x86_64_linux : "31dd25adaa1c9e0dd51cc4907bd6565cf9af53bb42369eb682a7f5bffd1a4423"
13+ rebuild 1
14+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "1b827a5bd276086d731ceb0389a40b264ebc405f88ff9a3a7f5c891c7093e929"
15+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "3af82a1bf3ea538252adc3f10a79801e1aca2d84dfb4bcc74391b67754afc765"
16+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "f5c3d35af1b7bb28eb938451360999327b9c58dca8e2bc8741ca45a219716b2d"
17+ sha256 cellar : :any_skip_relocation , sonoma : "ad13fdce74d46cea035deb76e0897e670847ecd9fa853a12290dc4616f25f17c"
18+ sha256 cellar : :any_skip_relocation , arm64_linux : "73063208845aa7f7937028f3848d08b45133a27925f1f3f15e699b036c0310ab"
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "4b0e5c976dc0e5e731322237a48d909e9bb03717a5dbd6b9654d45ea9c01b459"
2020 end
2121
2222 depends_on "certifi"
2323 depends_on "cryptography"
24- depends_on "python@3.13 "
24+ depends_on "python@3.14 "
2525
2626 uses_from_macos "libxml2" , since : :ventura
2727 uses_from_macos "libxslt"
@@ -37,8 +37,8 @@ class Sickchill < Formula
3737 end
3838
3939 resource "beautifulsoup4" do
40- url "https://files.pythonhosted.org/packages/d8/e4/0c4c39e18fd76d6a628d4dd8da40543d136ce2d1752bd6eeeab0791f4d6b /beautifulsoup4-4.13.4 .tar.gz"
41- sha256 "dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195 "
40+ url "https://files.pythonhosted.org/packages/77/e9/df2358efd7659577435e2177bfa69cba6c33216681af51a707193dec162a /beautifulsoup4-4.14.2 .tar.gz"
41+ sha256 "2a98ab9f944a11acee9cc848508ec28d9228abfd522ef0fad6a02a72e0ded69e "
4242 end
4343
4444 resource "beekeeper-alt" do
@@ -62,18 +62,27 @@ class Sickchill < Formula
6262 end
6363
6464 resource "charset-normalizer" do
65- url "https://files.pythonhosted.org/packages/e4/33/89c2ced2b67d1c2a61c19c6751aa8902d46ce3dacb23600a283619f5a12d /charset_normalizer-3.4.2 .tar.gz"
66- sha256 "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63 "
65+ url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062 /charset_normalizer-3.4.4 .tar.gz"
66+ sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a "
6767 end
6868
6969 resource "cinemagoer" do
7070 url "https://files.pythonhosted.org/packages/06/de/3aa6eb738b5c5e39f1909bc080a392842841f9af866edb960de2f22af53c/cinemagoer-2023.5.1.tar.gz"
7171 sha256 "5ce1d77ae6546701618f11e5b1556a19d18edecad1b6d7d96973ec34941b18f2"
72+
73+ # Replace `pkgutil.find_loader` removed in 3.14: https://github.com/cinemagoer/cinemagoer/pull/543
74+ patch do
75+ url "https://github.com/cinemagoer/cinemagoer/commit/fec0b1a0f90e2d6201f6fa5fd429f13d9b7a747d.patch?full_index=1"
76+ sha256 "a9f225c42d011f07e0aabb9b29f19c666f8808206787d7e53f9d56df4d749edd"
77+ end
78+ # Backport https://github.com/cinemagoer/cinemagoer/commit/88a86cdacc7737d0fcfe299ad7a2e9b365ff379c and
79+ # https://github.com/cinemagoer/cinemagoer/commit/cb4b61c3be3d7ed0bfc4f3cb506628c3cbb59828
80+ patch :DATA
7281 end
7382
7483 resource "click" do
75- url "https://files.pythonhosted.org/packages/60/6c/8ca2efa64cf75a977a0d7fac081354553ebe483345c734fb6b6515d96bbc /click-8.2.1 .tar.gz"
76- sha256 "27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202 "
84+ url "https://files.pythonhosted.org/packages/46/61/de6cd827efad202d7057d93e0fed9294b96952e188f7384832791c7b2254 /click-8.3.0 .tar.gz"
85+ sha256 "e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4 "
7786 end
7887
7988 resource "configobj" do
@@ -92,8 +101,8 @@ class Sickchill < Formula
92101 end
93102
94103 resource "dogpile-cache" do
95- url "https://files.pythonhosted.org/packages/e8/07/2257f13f9cd77e71f62076d220b7b59e1f11a70b90eb1e3ef8bdf0f14b34 /dogpile_cache-1.4 .0.tar.gz"
96- sha256 "b00a9e2f409cf9bf48c2e7a3e3e68dac5fa75913acbf1a62f827c812d35f3d09 "
104+ url "https://files.pythonhosted.org/packages/e7/c8/301ff89746e76745b937606df4753c032787c59ecb37dd4d4250bddc8929 /dogpile_cache-1.5 .0.tar.gz"
105+ sha256 "849c5573c9a38f155cd4173103c702b637ede0361c12e864876877d0cd125eec "
97106 end
98107
99108 resource "enzyme" do
@@ -112,8 +121,8 @@ class Sickchill < Formula
112121 end
113122
114123 resource "greenlet" do
115- url "https://files.pythonhosted.org/packages/c9/92/bb85bd6e80148a4d2e0c59f7c0c2891029f8fd510183afc7d8d2feeed9b6 /greenlet-3.2.3 .tar.gz"
116- sha256 "8b0dd8ae4c0d6f5e54ee55ba935eeb3d735a9b58a8a1e5b5cbab64e01a39f365 "
124+ url "https://files.pythonhosted.org/packages/03/b8/704d753a5a45507a7aab61f18db9509302ed3d0a27ac7e0359ec2905b1a6 /greenlet-3.2.4 .tar.gz"
125+ sha256 "0dca0d95ff849f9a364385f36ab49f50065d76964944638be9691e1832e9f86d "
117126 end
118127
119128 resource "guessit" do
@@ -122,8 +131,8 @@ class Sickchill < Formula
122131 end
123132
124133 resource "idna" do
125- url "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d /idna-3.10 .tar.gz"
126- sha256 "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 "
134+ url "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60 /idna-3.11 .tar.gz"
135+ sha256 "795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902 "
127136 end
128137
129138 resource "ifaddr" do
@@ -152,8 +161,8 @@ class Sickchill < Formula
152161 end
153162
154163 resource "lxml" do
155- url "https://files.pythonhosted.org/packages/76/3d/14e82fc7c8fb1b7761f7e748fd47e2ec8276d137b6acfe5a4bb73853e08f /lxml-5.4.0 .tar.gz"
156- sha256 "d12832e1dbea4be280b22fd0ea7c9b87f0d8fc51ba06e92dc62d52f804f78ebd "
164+ url "https://files.pythonhosted.org/packages/aa/88/262177de60548e5a2bfc46ad28232c9e9cbde697bd94132aeb80364675cb /lxml-6.0.2 .tar.gz"
165+ sha256 "cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62 "
157166 end
158167
159168 resource "mako" do
@@ -162,18 +171,18 @@ class Sickchill < Formula
162171 end
163172
164173 resource "markdown2" do
165- url "https://files.pythonhosted.org/packages/44/52/d7dcc6284d59edb8301b8400435fbb4926a9b0f13a12b5cbaf3a4a54bb7b /markdown2-2.5.3 .tar.gz"
166- sha256 "4d502953a4633408b0ab3ec503c5d6984d1b14307e32b325ec7d16ea57524895 "
174+ url "https://files.pythonhosted.org/packages/42/f8/b2ae8bf5f28f9b510ae097415e6e4cb63226bb28d7ee01aec03a755ba03b /markdown2-2.5.4 .tar.gz"
175+ sha256 "a09873f0b3c23dbfae589b0080587df52ad75bb09a5fa6559147554736676889 "
167176 end
168177
169178 resource "markupsafe" do
170- url "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62 /markupsafe-3.0.2 .tar.gz"
171- sha256 "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0 "
179+ url "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7 /markupsafe-3.0.3 .tar.gz"
180+ sha256 "722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698 "
172181 end
173182
174183 resource "msgpack" do
175- url "https://files.pythonhosted.org/packages/45/b1/ea4f68038a18c77c9467400d166d74c4ffa536f34761f7983a104357e614 /msgpack-1.1.1 .tar.gz"
176- sha256 "77b79ce34a2bdab2594f490c8e80dd62a02d650b91a75159a63ec413b8d104cd "
184+ url "https://files.pythonhosted.org/packages/4d/f2/bfb55a6236ed8725a96b0aa3acbd0ec17588e6a2c3b62a93eb513ed8783f /msgpack-1.1.2 .tar.gz"
185+ sha256 "3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e "
177186 end
178187
179188 resource "new-rtorrent-python" do
@@ -191,11 +200,6 @@ class Sickchill < Formula
191200 sha256 "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"
192201 end
193202
194- resource "pbr" do
195- url "https://files.pythonhosted.org/packages/01/d2/510cc0d218e753ba62a1bc1434651db3cd797a9716a0a66cc714cb4f0935/pbr-6.1.1.tar.gz"
196- sha256 "93ea72ce6989eb2eed99d0f75721474f69ad88128afdef5ac377eb797c4bf76b"
197- end
198-
199203 resource "profilehooks" do
200204 url "https://files.pythonhosted.org/packages/18/5a/c69fdf542b730c74b9de1cc2cc02692cd5d6a34a9d95e29217262937f91e/profilehooks-1.13.0.tar.gz"
201205 sha256 "54a541cad49ddccee97b61a617404d7d736bf0bf79d36fbe2ac7caa3a1d9daaf"
@@ -262,8 +266,8 @@ class Sickchill < Formula
262266 end
263267
264268 resource "requests" do
265- url "https://files.pythonhosted.org/packages/e1/0a/929373653770d8a0d7ea76c37de6e41f11eb07559b103b1c02cafb3f7cf8 /requests-2.32.4 .tar.gz"
266- sha256 "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422 "
269+ url "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4 /requests-2.32.5 .tar.gz"
270+ sha256 "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf "
267271 end
268272
269273 resource "requests-oauthlib" do
@@ -287,18 +291,18 @@ class Sickchill < Formula
287291 end
288292
289293 resource "soupsieve" do
290- url "https://files.pythonhosted.org/packages/3f/f4/4a80cd6ef364b2e8b65b15816a843c0980f7a5a2b4dc701fc574952aa19f /soupsieve-2.7 .tar.gz"
291- sha256 "ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a "
294+ url "https://files.pythonhosted.org/packages/6d/e6/21ccce3262dd4889aa3332e5a119a3491a95e8f60939870a3a035aabac0d /soupsieve-2.8 .tar.gz"
295+ sha256 "e2dd4a40a628cb5f28f6d4b0db8800b8f581b65bb380b97de22ba5ca8d72572f "
292296 end
293297
294298 resource "sqlalchemy" do
295- url "https://files.pythonhosted.org/packages/63/66/45b165c595ec89aa7dcc2c1cd222ab269bc753f1fc7a1e68f8481bd957bf /sqlalchemy-2.0.41 .tar.gz"
296- sha256 "edba70118c4be3c2b1f90754d308d0b79c6fe2c0fdc52d8ddf603916f83f4db9 "
299+ url "https://files.pythonhosted.org/packages/f0/f2/840d7b9496825333f532d2e3976b8eadbf52034178aac53630d09fe6e1ef /sqlalchemy-2.0.44 .tar.gz"
300+ sha256 "0ae7454e1ab1d780aee69fd2aae7d6b8670a581d8847f2d1e0f7ddfbf47e5a22 "
297301 end
298302
299303 resource "stevedore" do
300- url "https://files.pythonhosted.org/packages/28/3f/13cacea96900bbd31bb05c6b74135f85d15564fc583802be56976c940470 /stevedore-5.4.1 .tar.gz"
301- sha256 "3135b5ae50fe12816ef291baff420acb727fcd356106e3e9cbfa9e5985cd6f4b "
304+ url "https://files.pythonhosted.org/packages/2a/5f/8418daad5c353300b7661dd8ce2574b0410a6316a8be650a189d5c68d938 /stevedore-5.5.0 .tar.gz"
305+ sha256 "d31496a4f4df9825e1a1e4f1f74d19abb0154aff311c3b376fcc89dae8fccd73 "
302306 end
303307
304308 resource "subliminal" do
@@ -322,8 +326,8 @@ class Sickchill < Formula
322326 end
323327
324328 resource "tornado" do
325- url "https://files.pythonhosted.org/packages/51/89/c72771c81d25d53fe33e3dca61c233b665b2780f21820ba6fd2c6793c12b /tornado-6.5.1 .tar.gz"
326- sha256 "84ceece391e8eb9b2b95578db65e920d2a61070260594819589609ba9bc6308c "
329+ url "https://files.pythonhosted.org/packages/09/ce/1eb500eae19f4648281bb2186927bb062d2438c2e5093d1360391afd2f90 /tornado-6.5.2 .tar.gz"
330+ sha256 "ab53c8f9a0fa351e2c0741284e06c7a45da86afb544133201c5cc8578eb076a0 "
327331 end
328332
329333 resource "tus-py" do
@@ -337,8 +341,8 @@ class Sickchill < Formula
337341 end
338342
339343 resource "typing-extensions" do
340- url "https://files.pythonhosted.org/packages/d1/bc/51647cd02527e87d05cb083ccc402f93e441606ff1f01739a62c8ad09ba5 /typing_extensions-4.14 .0.tar.gz"
341- sha256 "8676b788e32f02ab42d9e7c61324048ae4c6d844a399eebace3d4979d75ceef4 "
344+ url "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f /typing_extensions-4.15 .0.tar.gz"
345+ sha256 "0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 "
342346 end
343347
344348 resource "unidecode" do
@@ -362,8 +366,8 @@ class Sickchill < Formula
362366 end
363367
364368 resource "xmltodict" do
365- url "https://files.pythonhosted.org/packages/50/05/51dcca9a9bf5e1bce52582683ce50980bcadbc4fa5143b9f2b19ab99958f /xmltodict-0.14 .2.tar.gz"
366- sha256 "201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553 "
369+ url "https://files.pythonhosted.org/packages/6a/aa/917ceeed4dbb80d2f04dbd0c784b7ee7bba8ae5a54837ef0e5e062cd3cfb /xmltodict-1.0 .2.tar.gz"
370+ sha256 "54306780b7c2175a3967cad1db92f218207e5bc1aba697d887807c0fb68b7649 "
367371 end
368372
369373 def install
@@ -377,18 +381,37 @@ def install
377381 end
378382
379383 test do
380- begin
381- port = free_port . to_s
382-
383- pid = fork do
384- exec bin /"sickchill" , "--port" , port , "--datadir" , testpath , "--nolaunch"
385- end
386- sleep 30
387- ensure
388- Process . kill ( "TERM" , pid )
389- Process . wait ( pid )
390- end
384+ port = free_port . to_s
385+ pid = spawn bin /"sickchill" , "--port" , port , "--datadir" , testpath , "--nolaunch"
386+ sleep 30
391387 assert_path_exists testpath /"config.ini"
392388 assert_path_exists testpath /"sickchill.db"
389+ ensure
390+ Process . kill ( "TERM" , pid )
391+ Process . wait ( pid )
393392 end
394393end
394+
395+ __END__
396+ diff --git a/imdb/parser/http/piculet.py b/imdb/parser/http/piculet.py
397+ index d0c2b7b..806c9f0 100644
398+ --- a/imdb/parser/http/piculet.py
399+ +++ b/imdb/parser/http/piculet.py
400+ @@ -32,7 +32,7 @@ from argparse import ArgumentParser
401+ from collections import deque
402+ from functools import partial
403+ from operator import itemgetter
404+ -from pkgutil import find_loader
405+ +from importlib.util import find_spec
406+
407+ __version__ = '1.2b1'
408+
409+ @@ -202,7 +202,7 @@ def html_to_xhtml(document, omit_tags=None, omit_attrs=None):
410+ # sigalias: XPathResult = Union[Sequence[str], Sequence[Element]]
411+
412+
413+ -_USE_LXML = find_loader('lxml') is not None
414+ +_USE_LXML = find_spec('lxml') is not None
415+ if _USE_LXML:
416+ from lxml import etree as ElementTree
417+ from lxml.etree import Element
0 commit comments