1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

graphics/rapid-photo-downloader: Update to 0.9.26

PR:		252238
Submitted by:	Martin Neubauer <m.ne@gmx.net> (maintainer)
This commit is contained in:
Jason E. Hale 2021-01-31 22:55:36 +00:00
parent bdff9797d1
commit 1ecf824503
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563539
3 changed files with 16 additions and 12 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= rapid-photo-downloader PORTNAME= rapid-photo-downloader
DISTVERSION= 0.9.24 DISTVERSION= 0.9.26
PORTREVISION= 2
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= https://launchpad.net/rapid/pyqt/${PORTVERSION}/+download/ MASTER_SITES= https://launchpad.net/rapid/pyqt/${PORTVERSION}/+download/
@ -35,7 +34,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>0:devel/py-arrow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
exiftool:graphics/p5-Image-ExifTool exiftool:graphics/p5-Image-ExifTool
USES= desktop-file-utils gettext pyqt:5 python:3.4+ qt:5 USES= desktop-file-utils gettext pyqt:5 python:3.6+ qt:5
USE_PYTHON= autoplist distutils noflavors USE_PYTHON= autoplist distutils noflavors
USE_QT= imageformats_run USE_QT= imageformats_run
USE_PYQT= core gui network sip widgets USE_PYQT= core gui network sip widgets

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1588794721 TIMESTAMP = 1609176016
SHA256 (rapid-photo-downloader-0.9.24.tar.gz) = 66b9482c9212043b519416982dacd734f8d05c285eb8d7e3ee3f0d7a29068590 SHA256 (rapid-photo-downloader-0.9.26.tar.gz) = 6dc87531581b2090e3836fb3d77f43f35e06bb5c029d1ec19f0e917fb6acff94
SIZE (rapid-photo-downloader-0.9.24.tar.gz) = 8150727 SIZE (rapid-photo-downloader-0.9.26.tar.gz) = 8213203

View File

@ -1,4 +1,4 @@
--- raphodo/storage.py.orig 2020-05-03 17:31:45 UTC --- raphodo/storage.py.orig 2020-12-24 23:41:26 UTC
+++ raphodo/storage.py +++ raphodo/storage.py
@@ -69,10 +69,9 @@ import xdg @@ -69,10 +69,9 @@ import xdg
import gi import gi
@ -39,7 +39,7 @@
cmd = shlex.split('xdg-mime query default inode/directory') cmd = shlex.split('xdg-mime query default inode/directory')
try: try:
desktop_file = subprocess.check_output(cmd, universal_newlines=True) # type: str desktop_file = subprocess.check_output(cmd, universal_newlines=True) # type: str
@@ -1064,259 +1063,6 @@ class CameraHotplug(QObject): @@ -1075,264 +1074,6 @@ class CameraHotplug(QObject):
if emit_remove: if emit_remove:
logging.info("Hotplug: %s has been removed", name) logging.info("Hotplug: %s has been removed", name)
self.cameraRemoved.emit() self.cameraRemoved.emit()
@ -219,11 +219,16 @@
- """ - """
- -
- object_path = '/org/freedesktop/UDisks2/block_devices/{}'.format( - object_path = '/org/freedesktop/UDisks2/block_devices/{}'.format(
- os.path.split(device_path)[1]) - os.path.split(device_path)[1]
- )
- obj = self.udisks.get_object(object_path) - obj = self.udisks.get_object(object_path)
- icon_names = self.get_icon_names(obj) - if obj is None:
- can_eject = self.get_can_eject(obj) - icon_names = []
- return (icon_names, can_eject) - can_eject = False
- else:
- icon_names = self.get_icon_names(obj)
- can_eject = self.get_can_eject(obj)
- return icon_names, can_eject
- -
- @pyqtSlot(str) - @pyqtSlot(str)
- def unmount_volume(self, mount_point: str) -> None: - def unmount_volume(self, mount_point: str) -> None: