public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-hl7] f44: - initial import
Date: Thu, 19 Nov 2026 10:43:48 GMT	[thread overview]
Message-ID: <179508502816.1.17323342392404286361.rpms-python-hl7-c4ecbc05c4ef@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-hl7
Branch : f44
Commit : c4ecbc05c4ef9e55391de223e1691be37aff876f
Author : Ankur Sinha <sanjay.ankur@gmail.com>
Date   : 2011-07-25T19:24:41+05:30
Stats  : +70/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-hl7/c/c4ecbc05c4ef9e55391de223e1691be37aff876f?branch=f44

Log:
- initial import

---
diff --git a/.gitignore b/.gitignore
index e69de29..cebc0bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hl7-0.2.0.tar.gz

diff --git a/python-hl7.spec b/python-hl7.spec
new file mode 100644
index 0000000..8a884b4
--- /dev/null
+++ b/python-hl7.spec
@@ -0,0 +1,68 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+%global module_name hl7
+
+Name:           python-%{module_name}
+Version:        0.2.0
+Release:        2%{?dist}
+# append my cmake path before swig is included
+Summary:        Python library parsing HL7 v2.x and v3.x messages
+
+License:        BSD
+URL:            http://pypi.python.org/pypi/%{module_name}
+
+Source0:        http://pypi.python.org/packages/source/h/%{module_name}/%{module_name}-0.2.0.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-sphinx
+
+%description
+python-%{module_name} is a simple library for parsing messages of 
+Health Level 7 (HL7) v2.x into Python objects.
+
+%prep
+%setup -q  -n %{module_name}-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+# Make docs
+# These modes appear to be enough
+pushd docs/
+    make html
+    make singlehtml
+    make man
+    make htmlhelp
+popd
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Install the man page to the correct location
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
+install -p -m 0644 docs/_build/man/%{name}.1 -t $RPM_BUILD_ROOT/%{_mandir}/man1/
+
+# Delete buildinfo file
+find docs/_build/ -name ".buildinfo" -execdir rm -fv '{}' \;
+ 
+%files
+%{python_sitelib}/%{module_name}/
+%{python_sitelib}/%{module_name}-%{version}-py?.?.egg-info
+%doc docs/_build/html docs/_build/htmlhelp docs/_build/singlehtml LICENSE README.rst
+%{_mandir}/man1/%{name}.1*
+
+
+%changelog
+* Thu Jul 21 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.0-2
+- Correct description
+- Make additional docs
+
+* Sun Jul 17 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.0-1
+- Use the original source
+
+* Thu Jul 14 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.1.1_xml.4-0.1.20110714git97ddbe9
+- Initial rpm build

diff --git a/sources b/sources
index e69de29..feead5b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e9e6f0c84d685e3f6435db986412ae7c  hl7-0.2.0.tar.gz

                 reply	other threads:[~2026-11-19 10:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179508502816.1.17323342392404286361.rpms-python-hl7-c4ecbc05c4ef@fedoraproject.org \
    --to=sanjay.ankur@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox