jdye64 commented on code in PR #281:
URL: 
https://github.com/apache/arrow-datafusion-python/pull/281#discussion_r1174617314


##########
conda/recipes/meta.yaml:
##########
@@ -15,32 +15,41 @@
 # specific language governing permissions and limitations
 # under the License.
 
-{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + 
environ.get('VERSION_SUFFIX', '') %}
-{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
+{% set name = "datafusion" %}
+{% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', 
'0.0.0.dev').split('.') %}
+{% set new_patch = major_minor_patch[2] | int + 1 %}
+{% set version = (major_minor_patch[:2] + [new_patch]) | join('.') + 
environ.get('VERSION_SUFFIX', '') %}
+
 
 package:
-  name: datafusion
+  name: {{ name|lower }}
   version: {{ version }}
 
 source:
   git_url: ../..
 
 build:
   noarch: python

Review Comment:
   Yeah, I think that covers the main ones. Let me make another PR after this 
one for conda macOS arm64 builds. Will do that after this PR merges.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to