summaryrefslogtreecommitdiff
path: root/weewx/setup.cfg-Install-into-usr-local.patch
diff options
context:
space:
mode:
authorJon duSaint2023-07-04 17:41:43 -0700
committerJon duSaint2023-07-04 17:41:43 -0700
commit8cceff0179daffd6a5a7502b00d1176fb17a59e2 (patch)
tree6a8c548d39a400d611d9f23074b479a8d8c0a7ba /weewx/setup.cfg-Install-into-usr-local.patch
parente5b30233366fa793d138ff580c9037691c11f318 (diff)

weewx: setup scripts and patches

Make installation on OpenBSD easier.

Diffstat (limited to 'weewx/setup.cfg-Install-into-usr-local.patch')
-rw-r--r--weewx/setup.cfg-Install-into-usr-local.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/weewx/setup.cfg-Install-into-usr-local.patch b/weewx/setup.cfg-Install-into-usr-local.patch
new file mode 100644
index 0000000..8d26477
--- /dev/null
+++ b/weewx/setup.cfg-Install-into-usr-local.patch
@@ -0,0 +1,30 @@
+From c68f36936abc43c56e8a1a967821b6c00a3e3503 Mon Sep 17 00:00:00 2001
+From: Jon duSaint <jon@rockgeeks.net>
+Date: Mon, 1 Aug 2022 17:14:09 -0700
+Subject: [PATCH] setup.cfg: Install into /usr/local
+
+---
+ setup.cfg | 12 ++----------
+ 1 file changed, 2 insertions(+), 10 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 324d5d7..dcdb8c6 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,11 +1,3 @@
+ [install]
+-home = /home/weewx
+-prefix =
+-exec-prefix =
+-install_lib = %(home)s/bin
+-install_scripts = %(home)s/bin
+-
+-[egg_info]
+-tag_build =
+-tag_date = 0
+-
++prefix = /var/www
++install_data = %(prefix)s/weewx
+--
+2.35.1
+