diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /dev-python/pslab-python/files | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'dev-python/pslab-python/files')
-rw-r--r-- | dev-python/pslab-python/files/pslab-python-1.0.1-no_install_udev_rules.patch | 9 | ||||
-rw-r--r-- | dev-python/pslab-python/files/pslab-python-1.0.1-sys_version.patch | 11 |
2 files changed, 20 insertions, 0 deletions
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 |