From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../files/pslab-python-1.0.1-no_install_udev_rules.patch | 9 +++++++++ .../pslab-python/files/pslab-python-1.0.1-sys_version.patch | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 dev-python/pslab-python/files/pslab-python-1.0.1-no_install_udev_rules.patch create mode 100644 dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch (limited to 'dev-python/pslab-python/files') diff --git a/dev-python/pslab-python/files/pslab-python-1.0.1-no_install_udev_rules.patch b/dev-python/pslab-python/files/pslab-python-1.0.1-no_install_udev_rules.patch new file mode 100644 index 000000000000..b721e8a8ab03 --- /dev/null +++ b/dev-python/pslab-python/files/pslab-python-1.0.1-no_install_udev_rules.patch @@ -0,0 +1,9 @@ +--- a/setup.py ++++ b/setup.py +@@ -50,6 +50,5 @@ + packages=find_packages(), + #scripts=["PSL/bin/"+a for a in os.listdir("PSL/bin/")], + package_data={'': ['*.css','*.png','*.gif','*.html','*.css','*.js','*.png','*.jpg','*.jpeg','*.htm','99-pslab.rules']}, +- cmdclass={'install': CustomInstall}, + ) + diff --git a/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch b/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch new file mode 100644 index 000000000000..474850a34b08 --- /dev/null +++ b/dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch @@ -0,0 +1,11 @@ +--- a/PSL/SENSORS/AD9833.py ++++ b/PSL/SENSORS/AD9833.py +@@ -3,7 +3,7 @@ + + + class AD9833: +- if sys.version.major == 3: ++ if sys.version_info.major == 3: + DDS_MAX_FREQ = 0xFFFFFFF - 1 # 24 bit resolution + else: + DDS_MAX_FREQ = eval("0xFFFFFFFL-1") # 24 bit resolution -- cgit v1.3.1