From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH v2] gnu: Add python-pyodbc-c. Date: Tue, 07 Feb 2017 13:36:00 -0500 Message-ID: <87tw85j1bj.fsf@openmailbox.org> References: <87h94l4rji.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170126182706.23615-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbTLs-0002st-Di for guix-devel@gnu.org; Wed, 08 Feb 2017 09:36:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbTLo-0008JL-If for guix-devel@gnu.org; Wed, 08 Feb 2017 09:36:08 -0500 Received: from lb1.openmailbox.org ([5.79.108.160]:49677 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbTLo-0008DO-AW for guix-devel@gnu.org; Wed, 08 Feb 2017 09:36:04 -0500 In-Reply-To: <20170126182706.23615-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Thu, 26 Jan 2017 19:27:06 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Danny Milosavljevic writes: > * gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c): > New variables. > --- > gnu/packages/databases.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm > index e8be17980..232c46985 100644 > --- a/gnu/packages/databases.scm > +++ b/gnu/packages/databases.scm > @@ -1312,3 +1312,31 @@ development.") > ;; test/crypto.test are licensed under a 3-clause BSD license. All other > ;; source files are in the public domain. > (license (list license:public-domain license:bsd-3)))) > + > +(define-public python-pyodbc-c > + (package > + (name "python-pyodbc-c") > + (version "3.1.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://gitlab.com/daym/pyodbc-c/repository/" > + "archive.tar.gz?ref=v" version)) > + (sha256 > + (base32 > + "0nl11n3mgrcfnhimjqgv48rxqnb21l5m6s7p8ps2fa4nn4z6rzy0")) > + (file-name (string-append name "-" version ".tar.gz")))) > + (build-system python-build-system) > + (inputs > + `(("unixodbc" ,unixodbc))) > + (arguments > + `(;; No unit tests exist. > + #:tests? #f)) > + (home-page "https://github.com/mkleehammer/pyodbc") > + (synopsis "Python ODBC Library") > + (description "@code{python-pyodbc-c} provides a Python DB-API driver > +for ODBC.") > + (license (license:x11-style "file://LICENSE.TXT")))) > + > +(define-public python2-pyodbc-c > + (package-with-python2 python-pyodbc-c)) LGTM. Pushed as 98d403bb4594c857729d64eaaafaf4a0ca51d7b3. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAliaE5EACgkQ5qXuPBlG eg2AIg//TD0oisGNyFZdS1jX50B9NGo6hWsNaJMrfhXaIUEH2F/voPG8goSIUS+g UWqqnak8CFwj/rNfBEIPlp0pejAmJd6SGgu/+PjOn6oKU2hiW+eIqhgWCi2tdNQR CMumnoKPAekt44QQgV5jhqzsL4S9XJsiP2BvFzPoGGy+288wRsjAWkn6aKF9RuEN Ru8NrgMzh6KIE8vKcTGzPbRxdjyN91/BQyVNmELvA148Tc5Q5KrZ1F4rU4b9Mild fQ+TdiNB+kP925BCQ1l823TWrZN7nJsfIwph9DObvKNzxaCSmZblYrP3UnIVR1NT evw8u//VX4wZ+os+FuS4pJtPUBLlM9Mvro/E87U/WX5yWDk4Fb1dGHatF3pe+E21 RO8MIVVTRXlQUp9z0329L+AwVX4RU3v0FREHJu1CmtipyV9J62K9HoYrhq5w7kcb VupGJHjNwTx+1TFMGaCA/hLyg117GQuoYyPOheTvyL0/Dnlpj5O845rvEFXhVwN8 cBLH9KrUhMS2qwlkfmuPsLILeC2qYxIZEm3uhunGqHT4Np4v8U/fuC3qwnWH+Um0 6J1YMEDo+f47Yl86csKVO2An22T2C81ReJC3UuKZNGs6GrzE/91nKIoHlCEtUQ8g rmlTERyFI1KoRPN3P2/JygY5MVvwZo8tcrW5tkWL4Rf8udvgWmU= =2vHq -----END PGP SIGNATURE----- --=-=-=--