dotlocalslashbin 0.0.21__py3-none-any.whl → 0.0.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dotlocalslashbin
3
- Version: 0.0.21
3
+ Version: 0.0.23
4
4
  Summary: Download and extract files to `~/.local/bin/`.
5
5
  Author-email: Keith Maxwell <keith.maxwell@gmail.com>
6
- Requires-Python: >=3.13
6
+ Requires-Python: >=3.11
7
7
  Description-Content-Type: text/markdown
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -0,0 +1,6 @@
1
+ dotlocalslashbin.py,sha256=yRAzCEhomEuzBXPZY7q5Htb8UuKbrOyMSV1n-x9RWDU,6462
2
+ dotlocalslashbin-0.0.23.dist-info/METADATA,sha256=ZPM8yplLLlXlNOT2PqvRKALiG9cpJJLqtFskpL3jXjk,3225
3
+ dotlocalslashbin-0.0.23.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
4
+ dotlocalslashbin-0.0.23.dist-info/entry_points.txt,sha256=eK8C0lW2h7WAcr78hM-_OBrLotRptdLvjbnT7f67m34,58
5
+ dotlocalslashbin-0.0.23.dist-info/licenses/LICENSES/MPL-2.0.txt,sha256=ZqMQfVrWoFiqt1PqrCBHzLLtDjlGXdD-WETaPjANUXI,16727
6
+ dotlocalslashbin-0.0.23.dist-info/RECORD,,
dotlocalslashbin.py CHANGED
@@ -23,7 +23,7 @@ from urllib.request import urlopen
23
23
  from zipfile import ZipFile
24
24
 
25
25
 
26
- __version__ = "0.0.21"
26
+ __version__ = "0.0.23"
27
27
 
28
28
  _CACHE = Path("~/.cache/dotlocalslashbin/")
29
29
  _HOME = str(Path("~").expanduser())
@@ -185,7 +185,7 @@ def _untar(item: Item) -> None:
185
185
 
186
186
 
187
187
  def _guess_action(item: Item) -> Action:
188
- if item.url.endswith((".tar.gz", ".tar")):
188
+ if item.url.endswith((".tar.xz", ".tar.gz", ".tar")):
189
189
  guess = Action.untar
190
190
  elif item.url.endswith(".zip"):
191
191
  guess = Action.unzip
@@ -1,6 +0,0 @@
1
- dotlocalslashbin.py,sha256=O1phXrUwrPVI5fTBcYV1PaNq_B8P9z2DcDHvOF-LpyA,6451
2
- dotlocalslashbin-0.0.21.dist-info/METADATA,sha256=UO8rU7_P-tMyYuA7vvHV-Z4cfZ2skjJTns-BLIbYIrE,3225
3
- dotlocalslashbin-0.0.21.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
4
- dotlocalslashbin-0.0.21.dist-info/entry_points.txt,sha256=eK8C0lW2h7WAcr78hM-_OBrLotRptdLvjbnT7f67m34,58
5
- dotlocalslashbin-0.0.21.dist-info/licenses/LICENSES/MPL-2.0.txt,sha256=ZqMQfVrWoFiqt1PqrCBHzLLtDjlGXdD-WETaPjANUXI,16727
6
- dotlocalslashbin-0.0.21.dist-info/RECORD,,