summarylogtreecommitdiffstats
path: root/infinityctl-smuglo.li.patch
diff options
context:
space:
mode:
authorneeshy2021-01-16 17:52:13 -0500
committerneeshy2021-01-16 17:52:13 -0500
commit7b8fa20edbc5697e99fc409b12b3552b97db8964 (patch)
treeec2ba8baf475b17842f7d0032f904ae4fe06043c /infinityctl-smuglo.li.patch
parent714ff7d24bd13c54de8adc88e14ed89e4de07c54 (diff)
downloadaur-7b8fa20edbc5697e99fc409b12b3552b97db8964.tar.gz
rename patches
Diffstat (limited to 'infinityctl-smuglo.li.patch')
-rw-r--r--infinityctl-smuglo.li.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/infinityctl-smuglo.li.patch b/infinityctl-smuglo.li.patch
new file mode 100644
index 000000000000..b9e39d4bb801
--- /dev/null
+++ b/infinityctl-smuglo.li.patch
@@ -0,0 +1,63 @@
+--- /dev/null
++++ b/onionlolictl
+@@ -0,0 +1,23 @@
++#!/usr/bin/env python3
++# Copyright 2016 ring <ring@8chan.co>
++# Copying and distribution of this file, with or without modification,
++# are permitted in any medium without royalty provided the copyright
++# notice and this notice are preserved. This file is offered as-is,
++# without any warranty.
++
++"""infinityctl variant for smuglo.li (onion)"""
++
++import os
++
++import infinitychan
++import infinityctl
++
++infinitychan.dom = "http://bhm5koavobq353j54qichcvzr6uhtri6x4bjjy4xkybgvxkzuslzcqid.onion"
++infinitychan.mod = infinitychan.dom + "/mod.php?"
++infinitychan.sys = infinitychan.dom
++infinitychan.media_base = infinitychan.dom
++infinitychan.media = infinitychan.dom + "/{board}/src/{tim}{ext}"
++infinitychan.media_dedup = infinitychan.media
++infinitychan.config = os.path.join(os.path.expanduser("~"), ".onionlolictl")
++
++infinityctl.main()
+--- a/setup.py
++++ b/setup.py
+@@ -18,7 +18,7 @@
+ 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
+ 'Intended Audience :: End Users/Desktop'],
+ py_modules=['infinitychan', 'infinityctl', 'botmod', 'threadviewer', 'urls'],
+- scripts=['infinityctl', 'onionctl'],
++ scripts=['infinityctl', 'onionctl', 'smuglolictl', 'onionlolictl'],
+ install_requires=['urllib3'],
+ python_requires='>=3.0'
+ )
+--- /dev/null
++++ b/smuglolictl
+@@ -0,0 +1,23 @@
++#!/usr/bin/env python3
++# Copyright 2016 ring <ring@8chan.co>
++# Copying and distribution of this file, with or without modification,
++# are permitted in any medium without royalty provided the copyright
++# notice and this notice are preserved. This file is offered as-is,
++# without any warranty.
++
++"""infinityctl variant for smuglo.li"""
++
++import os
++
++import infinitychan
++import infinityctl
++
++infinitychan.dom = "https://smuglo.li"
++infinitychan.mod = infinitychan.dom + "/mod.php?"
++infinitychan.sys = infinitychan.dom
++infinitychan.media_base = infinitychan.dom
++infinitychan.media = infinitychan.dom + "/{board}/src/{tim}{ext}"
++infinitychan.media_dedup = infinitychan.media
++infinitychan.config = os.path.join(os.path.expanduser("~"), ".smuglolictl")
++
++infinityctl.main()