diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-09 21:34:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-09 21:34:39 +0100 |
commit | 887695b2eee96dd6181c430506b42b0b0007ccc9 (patch) | |
tree | 7345ee9a349c4f829da0b831f8b5745fa9960954 | |
parent | 2babcd176600fc6348c62610788a8c847a57f495 (diff) |
app-portage/sisyphus : revision bump
-rw-r--r-- | app-portage/sisyphus/files/sisyphus-use-dateutil.patch | 28 | ||||
-rw-r--r-- | app-portage/sisyphus/sisyphus-1.1804-r1.ebuild (renamed from app-portage/sisyphus/sisyphus-1.1804.ebuild) | 6 | ||||
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.48.ebuild | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/app-portage/sisyphus/files/sisyphus-use-dateutil.patch b/app-portage/sisyphus/files/sisyphus-use-dateutil.patch new file mode 100644 index 00000000..29165a78 --- /dev/null +++ b/app-portage/sisyphus/files/sisyphus-use-dateutil.patch @@ -0,0 +1,28 @@ +diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py +index 36a2dce..59bf310 100755 +--- a/src/backend/libsisyphus.py ++++ b/src/backend/libsisyphus.py +@@ -9,7 +9,9 @@ + import sys + import urllib3 + import io ++ + from datetime import datetime ++from dateutil import parser + + redcore_portage_config_path = '/opt/redcore-build' + +@@ -98,11 +100,11 @@ def syncAll(): + http = urllib3.PoolManager() + + reqRmtPkgTs = http.request('HEAD',rmtCsvUrl) +- rmtPkgTs = int(datetime.strptime(reqRmtPkgTs.headers['last-modified'], '%a, %d %b %Y %H:%M:%S %Z').strftime("%s")) ++ rmtPkgTs = int(parser.parse(reqRmtPkgTs.headers['last-modified']).strftime("%s")) + lclPkgTs = int(datetime.utcnow().strftime("%s")) + + reqRmtDscTs = http.request('HEAD',rmtDscUrl) +- rmtDscTs = int(datetime.strptime(reqRmtDscTs.headers['last-modified'], '%a, %d %b %Y %H:%M:%S %Z').strftime("%s")) ++ rmtDscTs = int(parser.parse(reqRmtDscTs.headers['last-modified']).strftime("%s")) + lclDscTs = int(datetime.utcnow().strftime("%s")) + + if rmtPkgTs > lclPkgTs or rmtDscTs > lclDscTs: diff --git a/app-portage/sisyphus/sisyphus-1.1804.ebuild b/app-portage/sisyphus/sisyphus-1.1804-r1.ebuild index 04fc4b97..430f448b 100644 --- a/app-portage/sisyphus/sisyphus-1.1804.ebuild +++ b/app-portage/sisyphus/sisyphus-1.1804-r1.ebuild @@ -19,10 +19,16 @@ DEPEND="dev-lang/python[sqlite]" RDEPEND="${DEPEND} app-portage/gentoolkit[${PYTHON_USEDEP}] dev-python/animation[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] sys-apps/portage[${PYTHON_USEDEP}] gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] sys-apps/gentoo-functions )" +src_prepare() { + default + eapply "${FILESDIR}"/"${PN}"-use-dateutil.patch +} + src_install() { default diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.48.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.48.ebuild index ef3793ef..c4d21e8d 100644 --- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.48.ebuild +++ b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.48.ebuild @@ -29,6 +29,7 @@ src_unpack() { src_prepare() { epatch ""${FILESDIR}"/"${P}"-conf.patch" + epatch ""${FILESDIR}"/"${P}"-kernel-4.16-compat.patch" } src_install() { |