There will be maintenance performed on,,, and starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to

Commit 46e7bf19 authored by Brian Moe's avatar Brian Moe

Mostly packaging mods

parent 8c0551e5
ligo-gracedb (1.8-1) unstable; urgency=low
* Incorporated Leo's patch for fixing import problem
-- Brian Moe <> Fri, 04 Jan 2013 15:01:58 -0500
ligo-gracedb (1.7-1) unstable; urgency=low
* Workaround for Python bug
%define name ligo-gracedb
%define version 1.7
%define unmangled_version 1.7
%define release 1
Summary: Gravity Wave Candidate Event Database
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{unmangled_version}.tar.gz
License: GPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Brian Moe <>
Requires: ligo-common m2crypto
The gravitational-wave candidate event database (GraCEDb) is a prototype
system to organize candidate events from gravitational-wave searches and
to provide an environment to record information about follow-ups. A simple
client tool is provided to submit a candidate event to the database.
%setup -n %{name}-%{unmangled_version}
python build
python install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%exclude %{python_sitelib}/ligo/gracedb/*pyo
%exclude %{python_sitelib}/ligo/gracedb/test/*pyo
__all__ = ["cli", "rest"]
GIT_TAG = 'gracedb-1.7-1'
GIT_TAG = 'gracedb-1.8-1'
......@@ -23,7 +23,7 @@ import json
GIT_TAG = 'gracedb-1.7-1'
GIT_TAG = 'gracedb-1.8-1'
# Util routines
......@@ -259,7 +259,7 @@ class Client:
host, port, key_file=key, cert_file=cert)
self.url = url
# XXX sad sad hack for transition from our somewhat ad hoc to rest api.
if url.endswith('cli'):
if url.endswith('cli') or url.endswith('cli/'):
self.rest_url = url[:url.rindex('cli')]+"api"
self.rest_url = url
......@@ -3,7 +3,7 @@ import os
from distutils.core import setup
version = "1.7"
version = "1.8"
name = "ligo-gracedb",
......@@ -19,7 +19,7 @@ setup(
packages = [ 'ligo.gracedb', 'ligo.gracedb.test'],
package_data = { 'ligo.gracedb.test' : ['data/*', ''] },
requires = ['ligo', 'M2Crypto', 'cjson'],
requires = ['ligo', 'M2Crypto'],
scripts = [
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment