{"action":"created","comment":{"url":"https://api.github.com/repos/LLNL/spack/pulls/comments/92877413","pull_request_review_id":13402211,"id":92877413,"diff_hunk":"@@ -0,0 +1,61 @@\n+##############################################################################\n+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.\n+# Produced at the Lawrence Livermore National Laboratory.\n+#\n+# This file is part of Spack.\n+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.\n+# LLNL-CODE-647188\n+#\n+# For details, see https://github.com/llnl/spack\n+# Please also see the LICENSE file for our notice and the LGPL.\n+#\n+# This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU Lesser General Public License (as\n+# published by the Free Software Foundation) version 2.1, February 1999.\n+#\n+# This program is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and\n+# conditions of the GNU Lesser General Public License for more details.\n+#\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with this program; if not, write to the Free Software\n+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n+##############################################################################\n+\n+from spack import *\n+\n+\n+class PyMarkdown(Package):\n+    \"\"\"This is a Python implementation of John Gruber's Markdown. It is\n+    almost completely compliant with the reference implementation, though\n+    there are a few very minor differences. See John's Syntax\n+    Documentation for the syntax rules.\n+    \"\"\"\n+\n+    homepage = \"https://pythonhosted.org/Markdown/\"\n+    url      = \"https://github.com/waylan/Python-Markdown/archive/\"\\\n+               \"2.6.7-final.tar.gz\"\n+\n+    version('2.6.7', 'fd27044042e197ad99249b3d60215d97')\n+    version('2.6.6', '2b47a0ff7eb19ef34453fe198a0cccc4')\n+    version('2.6.5', 'e4b6b65b2d6bcac07176fb209bc55614')\n+    version('2.6.4', '5fb3cd9945eb534e71af597f8ee3622b')\n+    version('2.6.3', 'ec7a50ce9fd4a5fd0b24555d47e9d7d1')\n+    version('2.6.2', '6ce86913e9bf5bb34d9ee394ac71f044')\n+    version('2.6.1', '0ae69693c5adb27caf0160941d7dcbdf')\n+    version('2.6', '9acdde43d99847d0c4ef03ea56b1d2c5')\n+    version('2.5.2', 'ed2a662d22799186c1ef85d173d38b8a')\n+    version('2.5.1', 'be6f6ba65a8fb843d2aaf1fcdd68c755')\n+    version('2.5', '8393ceab9c6e33357fb8a7be063a4849')\n+\n+    extends('python')","path":"var/spack/repos/builtin/packages/py-markdown/package.py","position":52,"original_position":52,"commit_id":"93e08669a4424c200f24cf037ee9033f0a9130ca","original_commit_id":"93e08669a4424c200f24cf037ee9033f0a9130ca","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"body":"Can you update this with the constraints on Python version just so a user doesn't try to build it with an incompatible version? For the latest version, it looks like:\r\n```python\r\nextends('python')\r\ndepends_on('python@2.7:2.8,3.2:3.4')\r\n```","created_at":"2016-12-16T20:06:02Z","updated_at":"2016-12-16T20:06:10Z","html_url":"https://github.com/LLNL/spack/pull/2611#discussion_r92877413","pull_request_url":"https://api.github.com/repos/LLNL/spack/pulls/2611","_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments/92877413"},"html":{"href":"https://github.com/LLNL/spack/pull/2611#discussion_r92877413"},"pull_request":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2611"}}},"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/2611","id":98393931,"html_url":"https://github.com/LLNL/spack/pull/2611","diff_url":"https://github.com/LLNL/spack/pull/2611.diff","patch_url":"https://github.com/LLNL/spack/pull/2611.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/2611","number":2611,"state":"open","locked":false,"title":"py-markdown: Add new package for python-markdown.","user":{"login":"cmacmackin","id":8145213,"avatar_url":"https://avatars.githubusercontent.com/u/8145213?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacmackin","html_url":"https://github.com/cmacmackin","followers_url":"https://api.github.com/users/cmacmackin/followers","following_url":"https://api.github.com/users/cmacmackin/following{/other_user}","gists_url":"https://api.github.com/users/cmacmackin/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacmackin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacmackin/subscriptions","organizations_url":"https://api.github.com/users/cmacmackin/orgs","repos_url":"https://api.github.com/users/cmacmackin/repos","events_url":"https://api.github.com/users/cmacmackin/events{/privacy}","received_events_url":"https://api.github.com/users/cmacmackin/received_events","type":"User","site_admin":false},"body":"Added a package for [Python Markdown](https://pythonhosted.org/Markdown/), the most often used Markdown implementation in Python.","created_at":"2016-12-16T19:58:14Z","updated_at":"2016-12-16T20:06:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01cc27fe069c30a2532299b5dfa8614fe56cc6ce","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/2611/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/2611/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2611/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/93e08669a4424c200f24cf037ee9033f0a9130ca","head":{"label":"cmacmackin:py-markdown","ref":"py-markdown","sha":"93e08669a4424c200f24cf037ee9033f0a9130ca","user":{"login":"cmacmackin","id":8145213,"avatar_url":"https://avatars.githubusercontent.com/u/8145213?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacmackin","html_url":"https://github.com/cmacmackin","followers_url":"https://api.github.com/users/cmacmackin/followers","following_url":"https://api.github.com/users/cmacmackin/following{/other_user}","gists_url":"https://api.github.com/users/cmacmackin/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacmackin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacmackin/subscriptions","organizations_url":"https://api.github.com/users/cmacmackin/orgs","repos_url":"https://api.github.com/users/cmacmackin/repos","events_url":"https://api.github.com/users/cmacmackin/events{/privacy}","received_events_url":"https://api.github.com/users/cmacmackin/received_events","type":"User","site_admin":false},"repo":{"id":76677701,"name":"spack","full_name":"cmacmackin/spack","owner":{"login":"cmacmackin","id":8145213,"avatar_url":"https://avatars.githubusercontent.com/u/8145213?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacmackin","html_url":"https://github.com/cmacmackin","followers_url":"https://api.github.com/users/cmacmackin/followers","following_url":"https://api.github.com/users/cmacmackin/following{/other_user}","gists_url":"https://api.github.com/users/cmacmackin/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacmackin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacmackin/subscriptions","organizations_url":"https://api.github.com/users/cmacmackin/orgs","repos_url":"https://api.github.com/users/cmacmackin/repos","events_url":"https://api.github.com/users/cmacmackin/events{/privacy}","received_events_url":"https://api.github.com/users/cmacmackin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmacmackin/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/cmacmackin/spack","forks_url":"https://api.github.com/repos/cmacmackin/spack/forks","keys_url":"https://api.github.com/repos/cmacmackin/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmacmackin/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmacmackin/spack/teams","hooks_url":"https://api.github.com/repos/cmacmackin/spack/hooks","issue_events_url":"https://api.github.com/repos/cmacmackin/spack/issues/events{/number}","events_url":"https://api.github.com/repos/cmacmackin/spack/events","assignees_url":"https://api.github.com/repos/cmacmackin/spack/assignees{/user}","branches_url":"https://api.github.com/repos/cmacmackin/spack/branches{/branch}","tags_url":"https://api.github.com/repos/cmacmackin/spack/tags","blobs_url":"https://api.github.com/repos/cmacmackin/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmacmackin/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmacmackin/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmacmackin/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmacmackin/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/cmacmackin/spack/languages","stargazers_url":"https://api.github.com/repos/cmacmackin/spack/stargazers","contributors_url":"https://api.github.com/repos/cmacmackin/spack/contributors","subscribers_url":"https://api.github.com/repos/cmacmackin/spack/subscribers","subscription_url":"https://api.github.com/repos/cmacmackin/spack/subscription","commits_url":"https://api.github.com/repos/cmacmackin/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmacmackin/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmacmackin/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmacmackin/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmacmackin/spack/contents/{+path}","compare_url":"https://api.github.com/repos/cmacmackin/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmacmackin/spack/merges","archive_url":"https://api.github.com/repos/cmacmackin/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmacmackin/spack/downloads","issues_url":"https://api.github.com/repos/cmacmackin/spack/issues{/number}","pulls_url":"https://api.github.com/repos/cmacmackin/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/cmacmackin/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/cmacmackin/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmacmackin/spack/labels{/name}","releases_url":"https://api.github.com/repos/cmacmackin/spack/releases{/id}","deployments_url":"https://api.github.com/repos/cmacmackin/spack/deployments","created_at":"2016-12-16T18:53:18Z","updated_at":"2016-12-16T18:53:22Z","pushed_at":"2016-12-16T19:56:42Z","git_url":"git://github.com/cmacmackin/spack.git","ssh_url":"git@github.com:cmacmackin/spack.git","clone_url":"https://github.com/cmacmackin/spack.git","svn_url":"https://github.com/cmacmackin/spack","homepage":"http://llnl.github.io/spack","size":18744,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"LLNL:develop","ref":"develop","sha":"36072c47767d1ed53d8d08e53ce0e9cb4f0a3e16","user":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"repo":{"id":15730865,"name":"spack","full_name":"LLNL/spack","owner":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLNL/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":false,"url":"https://api.github.com/repos/LLNL/spack","forks_url":"https://api.github.com/repos/LLNL/spack/forks","keys_url":"https://api.github.com/repos/LLNL/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLNL/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLNL/spack/teams","hooks_url":"https://api.github.com/repos/LLNL/spack/hooks","issue_events_url":"https://api.github.com/repos/LLNL/spack/issues/events{/number}","events_url":"https://api.github.com/repos/LLNL/spack/events","assignees_url":"https://api.github.com/repos/LLNL/spack/assignees{/user}","branches_url":"https://api.github.com/repos/LLNL/spack/branches{/branch}","tags_url":"https://api.github.com/repos/LLNL/spack/tags","blobs_url":"https://api.github.com/repos/LLNL/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLNL/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLNL/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLNL/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/LLNL/spack/languages","stargazers_url":"https://api.github.com/repos/LLNL/spack/stargazers","contributors_url":"https://api.github.com/repos/LLNL/spack/contributors","subscribers_url":"https://api.github.com/repos/LLNL/spack/subscribers","subscription_url":"https://api.github.com/repos/LLNL/spack/subscription","commits_url":"https://api.github.com/repos/LLNL/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLNL/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLNL/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLNL/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLNL/spack/contents/{+path}","compare_url":"https://api.github.com/repos/LLNL/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLNL/spack/merges","archive_url":"https://api.github.com/repos/LLNL/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLNL/spack/downloads","issues_url":"https://api.github.com/repos/LLNL/spack/issues{/number}","pulls_url":"https://api.github.com/repos/LLNL/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/LLNL/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/LLNL/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLNL/spack/labels{/name}","releases_url":"https://api.github.com/repos/LLNL/spack/releases{/id}","deployments_url":"https://api.github.com/repos/LLNL/spack/deployments","created_at":"2014-01-08T09:22:12Z","updated_at":"2016-12-14T21:41:59Z","pushed_at":"2016-12-16T19:58:14Z","git_url":"git://github.com/LLNL/spack.git","ssh_url":"git@github.com:LLNL/spack.git","clone_url":"https://github.com/LLNL/spack.git","svn_url":"https://github.com/LLNL/spack","homepage":"http://llnl.github.io/spack","size":18740,"stargazers_count":194,"watchers_count":194,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":167,"mirror_url":null,"open_issues_count":458,"forks":167,"open_issues":458,"watchers":194,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2611"},"html":{"href":"https://github.com/LLNL/spack/pull/2611"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/2611"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/2611/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2611/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2611/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/93e08669a4424c200f24cf037ee9033f0a9130ca"}}}}
{"actor":{"display_login":"adamjstewart"}}