summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <kdreyer@redhat.com>2019-02-25 17:16:23 -0700
committerKen Dreyer <kdreyer@redhat.com>2019-02-25 17:16:23 -0700
commitf7316cf16d033e4ddf118a0b0b5952026c7ba334 (patch)
treeec51772106435fdda8144fd9d398ed28889c8d8a
downloadpython-objgraph-f7316cf16d033e4ddf118a0b0b5952026c7ba334.tar.gz
python-objgraph-f7316cf16d033e4ddf118a0b0b5952026c7ba334.tar.xz
python-objgraph-f7316cf16d033e4ddf118a0b0b5952026c7ba334.zip
initial packageHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--python-objgraph.spec48
-rw-r--r--sources1
3 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e8cebbf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/objgraph-3.4.0.tar.gz
diff --git a/python-objgraph.spec b/python-objgraph.spec
new file mode 100644
index 0000000..210cfba
--- /dev/null
+++ b/python-objgraph.spec
@@ -0,0 +1,48 @@
+%global pypi_name objgraph
+
+Name: python-%{pypi_name}
+Version: 3.4.0
+Release: 1%{?dist}
+Summary: Draws Python object reference graphs with graphviz
+License: MIT
+URL: https://mg.pov.lt/objgraph/
+Source0: https://files.pythonhosted.org/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(graphviz)
+BuildRequires: python3dist(mock)
+BuildRequires: python3dist(setuptools)
+
+%global _description\
+Python Object Graphs
+
+%description %_description
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+%description -n python3-%{pypi_name} %_description
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+%build
+%{py3_build}
+
+%install
+%{py3_install}
+
+%check
+%{__python3} setup.py test
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/__pycache__/*
+%{python3_sitelib}/%{pypi_name}.py
+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+%changelog
+* Mon Feb 25 2019 Ken Dreyer <kdreyer@redhat.com> - 3.4.0-1
+- Initial package.
diff --git a/sources b/sources
new file mode 100644
index 0000000..13e178d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (objgraph-3.4.0.tar.gz) = f1e2b9f22dfdce56988bd40aaa865572c42688e73800bb7c188b903c67ef3726c03ba058ed30d40792133a2e2fe74d5ecda91be3de8cf7b80188ac0b9f6ac393